Interruzione parzialeshare-external
Anyone else getting redirect_uri error when following the migration guide to add Instagram API with Instagram Business Login to existing app?
1

We followed the steps to in the Migration guide to add Instagram API with Instagram Business login to our existing app. When testing the login flow, we're getting the following error:

{"error_type": "OAuthException", "code": 400, "error_message": "Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request"}

However, the redirect uri is identical to the one used in the OAuth dialog request.

We've tried every variation of the URL, and it's not accepting it. It uses https, has a trailing / and no formatting changes seem to help.

Kelsey
Chiesta circa 2 mesi fa
Risposta selezionata
1

Maybe it'll help to share some URLs so people can help you debug?...

Have a look at: Instagram > API setup with Instagram business login > 3. Set up Instagram business login > Business login settings > OAuth redirect URIs Confirm that the URI there is the same one shown in the Embed URL in step 3. The hard-coded one with the Copy button next to it.

3 ottobre alle ore 13:00
Beɳ
Kelsey

We've confirmed the URL is identical. What we've provided for the URI redirect is correctly formatted and present in the embed URL.

We used the exact same settings in a brand new business app and it works as expected. It does not work when added to our existing business apps.

14 ottobre alle ore 12:15
1

Could you share the guide to migrate to the Instagram API with Instagram Business login? I have searched the whole internet and there is nothing clear as to what needs to be done to go from Basic API to the Business one with IG login. Thank you!

9 ottobre alle ore 07:11
Archiving
Kelsey

https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/migration-guide

14 ottobre alle ore 12:16
1

Update: Using the exact same settings in a brand new business app works as expected. Has anyone gotten it to work on an existing app?

14 ottobre alle ore 12:20
Kelsey
3

i hava the same problem [0] Error response data: { [0] error_type: 'OAuthException', [0] code: 400, [0] error_message: 'Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request' [0] }

14 ottobre alle ore 09:53
Arnold