gsr
12/21/2024, 4:11 PM{
"error_type": "OAuthException",
"code": 400,
"error_message": "Invalid platform app"
}
<https://api.instagram.com/oauth/authorize?client_id=**************&redirect_uri=https://yz.com/instaAuth.cfm&scope=user_profile,user_media&response_type=code&state=#session.clientID#>
any clue what i am doing wrong hereErin Brewer
12/21/2024, 4:36 PM1. Check Instagram App Configuration
Verify the App Status: Ensure the app is in "Live" mode. Apps in "Development" mode can only be used by users who are listed as testers, developers, or admins in the app's settings.
Platform Settings: Confirm that you've set up the correct platform (e.g., "Website") and included the correct domain for the redirect URI.
2. Redirect URI Mismatch
The redirect_uri you specify in the OAuth request must exactly match one of the redirect URIs configured in the app settings.
Go to Facebook Developer Console > Your App > Instagram > Settings > Basic.
Add <https://yz.com/instaAuth.cfm> as a valid redirect URI.
3. Permissions and Scopes
Confirm that the requested scopes (user_profile, user_media) are granted to your app. If the app is in development mode, ensure that these permissions are explicitly enabled for testing.
4. Use the Correct App Type
Ensure you are using an Instagram Basic Display API app or an Instagram Graph API app, depending on your needs. This error can occur if you attempt to use the wrong API type.
5. Client ID Issues
Double-check that you are using the Instagram App ID (not Facebook App ID).
If you're testing, ensure the user making the request is added as a tester in your app settings.
gsr
12/21/2024, 4:39 PMErin Brewer
12/21/2024, 4:41 PMReuben Brown
12/21/2024, 6:30 PMMonte Chan
12/21/2024, 7:26 PMgsr
12/21/2024, 7:57 PMReuben Brown
12/21/2024, 7:58 PMgsr
12/21/2024, 7:59 PMReuben Brown
12/21/2024, 7:59 PMReuben Brown
12/21/2024, 8:02 PMMonte Chan
12/21/2024, 8:22 PMgsr
12/21/2024, 8:23 PMgsr
12/21/2024, 8:23 PMMonte Chan
12/21/2024, 8:29 PMMonte Chan
12/21/2024, 8:30 PMgsr
12/21/2024, 8:32 PMgsr
12/21/2024, 8:32 PMMonte Chan
12/21/2024, 8:32 PMMonte Chan
12/21/2024, 8:33 PMgsr
12/21/2024, 8:33 PM