Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $access_token= "token_Lu_Gan";
- $stat=json_decode(auto('https://graph.facebook.com/me/home?fields=id,message,from,comments,type&access_token='.$access_token.'&offset=0&limit=1'),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('','a');
- fwrite($y,$x);
- fclose($y);
- $text = array("sundul",
- "post sunduler",
- "sundul sundul up up up",
- "naik lagi",
- "keatas",
- "pucuk",
- "gogogo",
- "nomer 1 ",
- "yahh naik lg",
- "lagi lagi",
- "auto sunduler by Koceng Maho",
- "sunduler again",
- "again again sunduler",
- "pucuk",
- "wus wus nomor 1",
- "pucuk no",
- "wus pucuk",
- "yeay naik lagi",
- "up",
- "naik",
- "jos",
- "sundul",
- "jgn kalah post nya sundul gan",
- "gila lu ndro sundul",
- "sundul lagi",
- "sundul sundul",
- "kekok sundul",);
- $sayang= $text[rand(0,count($text)-1)];
- $message=($sayang);
- auto('https://graph.facebook.com/ID_post_status_digrup_atau_pp_or_status_fb_lu_gan/comments?access_token='.$access_token.'&message='.urlencode($message).'+'.urlencode($fx).'&method=post');
- }
- }
- 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;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement