AbdulMuttaqin

[PHP] Auto Bom Like Wall Friend Facebook

Sep 23rd, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.91 KB | None | 0 0
  1. <?php
  2. $access_token= "ACCESS_TOKEN_KAMU";
  3. $id-akun= "id akun korban";
  4.  
  5. $stat=json_decode(auto('https://graph.facebook.com/me/home?fields=id,message,from,comments,type&access_token='.$access_token.'&offset=0&limit=50'),true); //ubah limit untuk menentukan banyaknya post diwall teman
  6. for($i=1;$i<=count($stat[data]);$i++){
  7. if(!ereg($stat[data][$i-1][id],$log)){
  8. $x=$stat[data][$i-1][id]."\n";
  9.  
  10. $text = array("Masukkan Kata kata yang mau buat bomb",);
  11.  
  12. $sayang= $text[rand(0,count($text)-1)];
  13. $message=($sayang);
  14.  
  15. auto('https://graph.facebook.com/'.$id-akun.'/feed?message='.urlencode($message).'&access_token='.$access_token.'&method=post').'<hr/>';
  16. echo '<span style="color:green">[SUCCESS]</span><hr/>';
  17. }
  18. }
  19. function auto($url){
  20. $data = curl_init();
  21. curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
  22. curl_setopt($data, CURLOPT_URL, $url);
  23. $hasil = curl_exec($data);
  24. curl_close($data);
  25. return $hasil;
  26. }
  27. ?>
Add Comment
Please, Sign In to add comment