Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram Display API Insufficient Developer Role

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.

like image 330
Abhishta Gatya Avatar asked Nov 09 '19 10:11

Abhishta Gatya


People also ask

What does insufficient developer role mean?

Errors # Error "Insufficient developer role" may appear if Facebook App is in the Development Mode and you are not a Tester. You have to make yourself a Tester or enable Live Mode. Error " The access_token provided is invalid." may appear if the access token is older than 60 days. Try to reconnect.

Does Instagram have a developer API?

The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API is intended for non-Business and non-Creator Instagram users.

Does Instagram API still work?

In 2018, Instagram shut down its public API. Meaning, third-party apps can no longer access the API from Instagram without permission. Third-party apps now need to be approved by Instagram before they can access the API.


2 Answers

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.

like image 108
Nobody Avatar answered Sep 17 '22 12:09

Nobody


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.

like image 35
Peter S. Avatar answered Sep 19 '22 12:09

Peter S.