Selamat Datang Kembali !, sekarang saya ingin mengkasih script Refresh Token Facebook!
langsung aja, sedot :v
<?php
$user="E-Mail Facebook kamu";
$pass="Password Facebook kamu (yang sudah di decode dengan base64)";
$data = "email=".$user."&pass=".base64_decode($pass)."&login=Masuk";
$asu = curl("https://m.facebook.com/login.php", $data);
$asu = curl("http://goo.gl/G73diY");
$gay = preg_match("/access_token=(.*?)&expires_in/i", $asu, $m);
$fp = fopen("token.txt", 'w') or die("gay");
fwrite($fp, $m[1]);
fclose($fp);
echo $m[1];
function curl($url, $post=null){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
if($post!=null){
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt");
//curl_setopt($ch, CURLOPT_VERBOSE, true);
$exec = curl_exec($ch);
curl_close($ch);
return $exec;
}
?>
Sekarang, jika ingin menggunakannya, anda tinggal isi E-Mail sama Password Facebook anda yang sudah di decode dengan base64 tersebut di kolom $user dan $pass.
Ingin men-decode base64 ? cari aja digoogle, banyak kok :v
Sekian dan Terima kasih.
EmoticonEmoticon