CTRLHacker

auto status

Apr 14th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <?php
  2. $access_token = ('TARUH TOKENMU DISINI');
  3. $linx = "http://b0t.nazuka.net/random/koplak.php";
  4. $url = "https://graph.facebook.com/me/feed?method=POST";
  5. $status = file_get_contents($linx);
  6. $ch = curl_init();
  7. $attachment = array( 'access_token' => $access_token,
  8. 'message' => $status,
  9. );
  10. curl_setopt($ch, CURLOPT_URL,$url);
  11. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  12. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
  13. curl_setopt($ch, CURLOPT_POST, true);
  14. curl_setopt($ch, CURLOPT_POSTFIELDS, $attachment);
  15. $result= curl_exec($ch);
  16. curl_close ($ch);
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment