title: Instagram Graph API
body: <p>My task is to get photo data of my business Instagram account with Instagram Graph API. I followed the instruction from Instagram Graph API - 
  <a href="https://developers.facebook.com/docs/instagram-api/reference/user/media" rel="nofollow noreferrer">https://developers.facebook.com/docs/instagram-api/reference/user/media</a>
  , which said request like</p>
  
  <pre><code>GET http://graph.facebook.com/17841405822304914/media
  </code></pre>
  
  <p>can get photo data from the Instagram account linked to the FB account in JSON format.</p>
  
  <p>I tried to send <code>GET request /my_facebook_id/media</code> as said by the document with Graph API Explorer on FB developer platform but it failed to return the data I want.
  This is the error I got:</p>
  
  <blockquote>
    <p>message: Tried accessing nonexisting field (media) on node type (User)
    type: OAuthException code: 100</p>
  </blockquote>
  
  <p>Does the message mean the media field doesn't exist in the FB user?</p>
  
  <p>What is the meanIng of error code 100? I can't even see that in FB official document. </p>
  
  <p>I tried to use the Instagram business account ID for this request but I got an error message said the user object doesn't exist </p>
  
  <p>How to get the task done? Thanks!</p>