Answer the question
In order to leave comments, you need to log in
Why does the Instagram API return an empty response?
1) I'm in Sandbox Mode
2) Authentication based on Server-side (Explicit) Flow
3) "Disable implicit OAuth" is checked in Manage Clients
4) I authorized the User - Instagram API returned a response with access_token and user
When I try to get data through Relationship Endpoints Instagram API returns a request like this: {"pagination":{},"meta":{"code":200},"data":[]}
Code:
ACCESS_TOKEN = xxxxx
url = 'https://api.instagram.com/v1/users/self/follows?access_token=%s' % ACCESS_TOKEN
response = requests.get(url)
data = response.text
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question