Search code examples
instagram-api

Instagram API returns nothing while requesting with a userid


I have got an access_token and made a request according to the official introduction. Something went wrong while requesting with other users' IDs (the IDs are valid), but it's fine while making a self-request. How could this have happened?

Official Document:

official document

Unexpected Reply:

unexpected reply

Expected Reply:

expected reply


Solution

  • If you are on sandbox mode with your oauth app then it is expected to get only your owned data.