Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

https://api.instagram.com/oauth/authorize api login error

Tags:

Instagram login API is in use. After approving the app, the following error occurs.

The user denied your request.

It worked well until yesterday. What's the problem?

like image 458
jeypark Avatar asked Apr 01 '19 06:04

jeypark


People also ask

What is OAuth Instagram?

This endpoint returns the Authorization Window, which app users can use to authenticate their identity and grant your app permissions and short-lived Instagram User Access Tokens.

How do I authenticate and get data using Instagram API?

First of all you need to register as a developer at http://instagram.com/developer/. Click on the Register Your Application button. Now enter your application name, description, website, OAuth redirect URL and captha code and click the Register button.


1 Answers

The value of the authorization buttons is different in other languages which probably causes the issue, I guess an issue on Instagram itself.

After doing some research I found out you can change the language of the authorization screen using the following parameter:

&hl=en

Did some test with my apps and it's solving the issue.

Note: The language parameter is not in the official documentation, so in theory they could change it, but for now it is fixing the issue.

like image 50
Koen Avatar answered Sep 22 '22 13:09

Koen