dark_ruby
dark_ruby

Reputation: 7866

Instagram API returns empty array

Calling these endpoints

https://api.instagram.com/v1/users/self/follows https://api.instagram.com/v1/users/self/followed-by

with perfectly valid access-token, and access scope of follower_list relationships

returns 200 OK, and data as empty array []

Upvotes: 6

Views: 1868

Answers (1)

Alberto Crespo
Alberto Crespo

Reputation: 2519

In Sandbox mode, it will only return users that are in your approved sandbox user list.

Add one of the user you follow to the sandbox and it will show up in the API response.

Upvotes: 6

Related Questions