Redirecting to authentication dialog - “An error occurred. Please try again later”

前端 未结 30 1743
执念已碎
执念已碎 2020-11-29 04:08

Why does it always happen to me?

This happens after my application verify for user user login and redirect user to the authentication page:

https://w

相关标签:
30条回答
  • 2020-11-29 04:18

    Also had a problem with wrong redirect link: I had a link starting with "https://apps.facebook.com?myapplication".... but after authorization the redirection would bring me to "apps.facebook.com/Myapplication" and consequently I would get a message described above:"Error occured. Try back later." since "apps.facebook.com"... means "http://apps.facebook.com/Myapp" and not "HTTPS://apps.facebook.com/,..."

    The solution: went to my application settings in facebook developers section. Clicked 'Edit'. In the left-side Menu selected "Permissions" (by default the Menu is set to Basic) and in the newly opened set of setting changed my "Auth Token Parameter" from "Query string" to "URL Fragment".

    It worked! After authorization is finished the users are taken to "https://apps.facebook.com/myapp..."

    0 讨论(0)
  • 2020-11-29 04:20

    You need to specify http:// in your REDIRECT URI.

    0 讨论(0)
  • 2020-11-29 04:21

    If your all code is working properly then to remove such type of error go to Facebook Developers Apps and disable sandbox mode.

    0 讨论(0)
  • 2020-11-29 04:22

    I have had the same problem as you.

    From the Facebook Developers Apps page, make sure that the Sandbox Mode is disabled.

    enter image description here

    0 讨论(0)
  • 2020-11-29 04:22

    Make sure your app is configured to use the appropriate URL & domain of your site. That may be it.

    0 讨论(0)
  • 2020-11-29 04:22

    I had put the restriction on the app that only United States residence could use the app. I was working from Canada at the time this error message appeared. After removing the restriction everything worked.

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