1) I'm in Sandbox mode
2) The application has a server-side thread (explicit)
3) the "Disable Implicit OAuth" checkbox is active in "Client Management"
4) I authorized the user of my sandbox - Instagram API returns data using access_token and user
When I try to extract some data from Endpoints relationships, the Instagram API returns empty data as follows:
{"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
When I open the url in the browser - the same situation
What's wrong?
source
share