Advertisement
Guest User

Untitled

a guest
Aug 13th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  5.   set_time_limit(0);
  6.   date_default_timezone_set('UTC');
  7.  
  8.   require __DIR__.'/../vendor/autoload.php';
  9.  
  10.   $id = '1973783159';
  11.   $username = 'Useinovalarisa4';
  12.   $password = 'ter678ghf';
  13.   $debug = true;
  14.   $truncatedDebug = false;
  15.  
  16.  
  17.   $ig = new \InstagramAPI\Instagram($debug, $truncatedDebug);
  18.   $ig->setProxy('http://proxy645:29pGfJ2La17m@95.182.79.72:40075');
  19.  
  20.   try {
  21.     $ig->login($username, $password);
  22.   } catch (\Exception $e) {
  23.     echo 'Something went wrong: '.$e->getMessage()."\n";
  24.     exit(0);
  25.   }
  26.  
  27.   $ig->people->getInfoById($id);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement