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

前端 未结 30 1742
执念已碎
执念已碎 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:12

    There is no possibility to solve this type of error. So Its better to use your custom dialog same like shown in facebook and post message again & again without login. Even though you remove your app from facebook, you can ask for login and post message successfully.

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

    For me this happened because the "test user" I created was part of a separate app. I created a test user for THIS app, and it started working fine.

    Stupid on my part I know, but this could save someone else some trouble.

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

    I just encountered this problem myself. I'm developing an app internally, so my host is 'localhost'. It wasn't obvious how to set 'localhost' up in the app configuration. If you want to develop locally, set up your app by following these steps:

    1. Go to the place where you manage your Facebook app. Specifically, you want to be in "Basic" under the "Settings" menu.
    2. Add 'localhost' to "App Domain".
    3. Under "Select how your app integrates with Facebook", select "Website", and enter "http://localhost/".

    Save and wait a couple of minutes for the information to propagate, although it worked right away for me.

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

    If you're the app developer, you may see a more specific error message, but generally that message means one of two things:

    1. Your server returned a HTTP error code (usually 5xx)
    2. You tried to send the user, after login, to a URL not allowed by your app configuration (though as an Admin of the app, you should see a more specific error message and Facebook error code in this case)
    0 讨论(0)
  • 2020-11-29 04:17

    For me the issue was that the url of the app didn't completely match the url I was running it on (i.e different directories, same domain)

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

    I had this exact problem on a Page Tab app and for the life of me couldn't work out what the problem was. It worked on my test page but as soon as I made it live it wouldn't work. I found in the end that I fixed the problem by putting the actual URL to the Page Tab (i.e. http://www.facebook.com/<"page_name">/app_<"app_id">) into "Site URL" under "Website". This doesn't make any sense. But it worked :-)

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