Script Bot Like Status Facebook

10:44 PM
Hi Guys!
Selamat datang kembali. Sekarang saya ingin mengkasih Script untuk Bot Like Status Facebook.

Langsung aja sedot :v

<?php
function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token="TOKEN KAMU COEG"; 
if(file_exists('jembutmu')){ $log=json_encode(file('jembutmu')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.beta.facebook.com/me/home?fields=id&limit=1&access_token='.$access_token),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."\n";
$y=fopen('jembutmu','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#0E0101">'.$stat[data][$i-1][id].'</span> <span style="color:green">[SUCCESS]</span><hr/>';
}
else
{
  if(file_exists('jembutku')){ $log=json_encode(file('jembutku')); }else{ $log=''; }
  $jembut=json_decode(auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/comments?fields=id&access_token='.$access_token),true);
  for($e=1;$e<=count($jembut[data]);$e++)
  {
  if(!ereg($jembut[data][$e-1][id],$log)){
  $x=$jembut[data][$e-1][id]."\n";
  $y=fopen('jembutku','a');
  fwrite($y,$x);
  fclose($y);
  auto('https://graph.beta.facebook.com/'.$jembut[data][$e-1][id].'/likes?method=post&access_token='.$access_token);
  echo '<span style="color:#0E0101">Komen id ke > '.$e.' | like sukses</span></br>';
  }
  else
  {
 echo('bisa gitok, like gitok');
  }
  }
}
}
?>


Jika mau pake refresh token, ganti line $access_token nya seperti berikut :
$access_token= get_file_contents('token.txt'); <token.txt bisa anda ganti dengan file txt yang berisi token Facebook kamu.
 Sekian dan Terima Kasih.

Share Please :)

Artikel Terkait

Previous
Next Post »