Instagram Display API Insufficient Developer Role

2020-03-04 07:24发布

问题:

I have followed the tutorial on Instagram Display API, created my redirect_uri on ngrok and correctly assign my app_id. Here is the response I get.

{
"error_type": "OAuthException",
"code": 400,
"error_message": "Insufficient developer role"
}

What should I do? I am an Administrator so I can't assign myself as a Developer.

回答1:

Go to Roles > Instagram Users and add your Instagram account. Then go to https://www.instagram.com/accounts/manage_access/ to accept the Tester Invite from your app.



回答2:

What fixed this for me when trying to use this link:

https://api.instagram.com/oauth/authorize
  ?app_id={app-id}
  &redirect_uri={redirect-uri}
  &scope=user_profile,user_media
  &response_type=code

... was being logged in as the accepted Testing User in the same browser session.

I had logged in as that user in an Incognito window, and originally the link was returning that Insufficient Developer Role error when I was trying it in my normal browser window.

Once tried to go to it in the incognito window, it worked just fine.

Let me know if this fixes it for you. Otherwise, I also went to my Developer Settings and did the Individual Verification, although my ID hasn't been approved yet and it still worked.