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

后端 未结 7 2631
长情又很酷
长情又很酷 2020-12-24 13:03

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

相关标签:
7条回答
  • 2020-12-24 13:17

    Workaround

    I can confirm that there is a problem in other languages except English.

    I had the same problem. If you set the web main language to English, you will be logged in.

    0 讨论(0)
  • 2020-12-24 13:19

    I have the same problem. In my case it is the iPhone App. I use "UIWebView" to display the login screen of Inatagram. In the case of English, it works well, and in the case of Japanese, it becomes an error.

    0 讨论(0)
  • 2020-12-24 13:20

    Temporary workaround

    I got the same problem today. The app/client was revoked without a reason and any time that I tried to re-auth (get the auth/Access token) I received an error message with:

    error_reason=user_denied
    error=access_denied
    error_description=The+user+denied+your+request
    

    -

    I solved by changing the browser language during the auth-code procedure (your own or via third party websites like pixelunion). I used Firefox with the addon Language Switch https://addons.mozilla.org/en-US/firefox/addon/languageswitch/ and Set the language to "English" (the plugin adds a flag in the toolbar. Left click on it and then on the "English" text). After changing to the (accepted) English language the procedure finished without issues.


    Note: it's almost impossible to contact the instagram/facebook support. Really disappointing.

    0 讨论(0)
  • 2020-12-24 13:23

    I have same error, but &hl=en helps me. Facebook and instagram support completely not competent, there are huge problems and no way to inform support about them.

    0 讨论(0)
  • 2020-12-24 13:24

    I came here after I figured the actual problem out. The problem is the value of the confirm button. Apparently they have some code that checks it for being equal to "Authorize". You can see how that might form an issue in other languages.

    https://twitter.com/vdwijngaert/status/1112999130878619649

    0 讨论(0)
  • 2020-12-24 13:31

    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.

    0 讨论(0)
提交回复
热议问题