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

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

    When working with Dialogues, Facebook provide a 'show_error' attribute that defaults to no but can be set to true in a Development environment and is really helpful for debugging purposes.

    show_error - If this is set to true, the error code and error description will be displayed in the event of an error.

    Instructions of it's use can be found in the Facebook Docs.

    I'd been debugging "An Error occurred. Please try later." dialogue before i found this attribute in the docs. Once i started using it, i could see the following message too:

    API Error Code: 191

    API Error Description: The specified URL is not owned by the application

    Error Message: redirect_uri is not owned by the application.

提交回复
热议问题