Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authenticate the Test User { "error_type": "OAuthException", "code": 400, "error_message": "Invalid platform app" }

I'm trying to recover the access token via the Instagram Basic Display API but when trying to authenticate the test user I get this error:

{     "error_type": "OAuthException",     "code": 400,     "error_message": "Invalid platform app" } 

I expect to see the app authorization screen

like image 542
Felice Caricati Avatar asked Oct 21 '19 14:10

Felice Caricati


People also ask

What is OAuthException on Facebook?

OAuthException: If you receive an OAuthException error, it means that Edgar doesn't have the correct permissions to access your Facebook accounts right now. The password may have been changed on Facebook or Facebook may have reset your security session.

What does insufficient developer role mean?

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. Last updated on July 20, 2022.

How do I find my instagram app ID?

Visit the page https://www.instagram.com/developer/register/ by tapping on the link. Log in to your Instagram account with your credentials. Fill in the developer signup by providing your website domain, phone number, and your motives to use the API. After that, register your application to the web client.

What is Instagram basic display 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 can be used to access any type of Instagram account but only provides read-access to basic data.


1 Answers

Felice!

When setting up an Instagram app, you should use the platform-specific App ID and not the generic one set up on Facebook.

In your Facebook app Dashboard go to Products > Instagram > Basic Display and should see the Instagram App ID.

Use that in your authorization URL and it should work.

like image 93
Filipe V Avatar answered Sep 18 '22 12:09

Filipe V