title: How can i get instagram account information
body: <p>Good time<br>
  How can i give some information of a profile on instagram ?<br>
  I would like to give <code>Account type(Public, Private)</code> and <code>Follower Count</code> and if the entered username dose't available return an error with this message, for example <code>i can find page</code>.<br>
  How can i do it using <strong>Faster</strong> way with PHP ?<br>
  I test it but this is very slow! : <br></p>
  
  <pre><code>$otherPage = 'nasa';
  $response = file_get_contents("https://www.instagram.com/$otherPage/?__a=1");
  if ($response !== false) {
      $data = json_decode($response, true);
      if ($data !== null) {
          $follows = $data['user']['follows']['count'];
          $followedBy = $data['user']['followed_by']['count'];
          echo $follows . ' and ' . $followedBy;
      }
  }
  </code></pre>