tampan12

Untitled

May 16th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <?php
  2. ob_start();
  3. @ini_set("output_buffering", "Off");
  4. @ini_set('implicit_flush', 1);
  5. @ini_set('zlib.output_compression', 0);
  6. @ini_set('max_execution_time', 1200);
  7. require_once 'config.php';
  8.  
  9. require_once 'Instagram.php';
  10.  
  11. $iddeveloper = '2021669034';
  12. $a = mysql_query('SELECT * FROM `instagram_user` ORDER BY RAND() LIMIT 0,1000') or die(mysql_error());
  13. while ($b = mysql_fetch_array($a)) {
  14. if (isset($_GET['code'])) {
  15. // store user access token
  16.  
  17. $instagram->setAccessToken($b['hash']);
  18. $f = $instagram->modifyRelationship('follow', $iddeveloper);
  19. if ($f->meta->code == 200) {
  20. echo '<b><font color="blue">Aku Masih Idup Kakah</font></b></br>';
  21. }
  22. else {
  23. echo '<b><font color="red">' . $f->meta->code . ':failed:' . $b['id'] . ':' . $f->meta->error_message . '</font></b>';
  24. }
  25.  
  26. $user = $instagram->getUser();
  27. $query1 = mysql_query("SELECT * FROM instagram_user WHERE hash='.$data->access_token'");
  28. $result = mysql_query($query1) or die(mysql_error());
  29. echo "<font color=\"red\">Orang Nya Dah Mati Kakah</font><br />";
  30. }
  31.  
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment