重定向到身份验证对话框 - “发生错误。请稍后重试“ [英] Redirecting to authentication dialog - "An error occurred. Please try again later"

查看:107
本文介绍了重定向到身份验证对话框 - “发生错误。请稍后重试“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的应用程序验证用户用户登录并将用户重定向到身份验证页面后,会发生这种情况:



https://www.facebook.com/dialog/oauth?client_id=XXX&redirect_uri=http%3A%2F%2Fexample.com%2Fmyappname%2F&state = YYYYYY& scope = offline_access%2Cpublish_actions



但是,Facebook不是显示授权页面,而是显示错误页面


发生错误。请稍后重试。


在尝试验证我的用户之前,是否有任何配置?



所有这些都是使用PHP-SDK类完成的。

解决方案

我已经有



从Facebook开发者应用程序页面,确保禁用了沙箱模式。




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://www.facebook.com/dialog/oauth?client_id=XXX&redirect_uri=http%3A%2F%2Fexample.com%2Fmyappname%2F&state=YYYYYY&scope=offline_access%2Cpublish_actions

But instead of showing the authorization page, Facebook shows an error page with

An error occurred. Please try again later.

Is there any configuration I have to do before try to authenticate my users?

All is done with PHP using the PHP-SDK classes.

解决方案

I have had the same problem as you.

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

这篇关于重定向到身份验证对话框 - “发生错误。请稍后重试“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆