user8919158
user8919158

Reputation:

Issue getting the list of followers using Instagram API?

I am working on Instagram API and try to fetch list of followers but API return error. Please suggest me possible reason for this issue

URL: https://api.instagram.com/v1/users/self/follows?access_token=MY_ACCESS_TOKEN

{
"meta": {
"code": 400,
"error_type": "OAuthPermissionsException",
"error_message": "This request requires scope=follower_list, but this access token is not authorized with this scope. The user must re-authorize your application with scope=follower_list to be granted this permissions."
}
}

Upvotes: 1

Views: 1886

Answers (1)

Jørgen
Jørgen

Reputation: 2367

Your error message says it all: you need to re-authorize with scope=follower_list to obtain the permissions.

Probably something like: https://api.instagram.com/oauth/authorize?client_id=XXXX&redirect_uri=YYYYY&scope=basic+follower_list

Upvotes: 0

Related Questions