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

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

问题描述

为什么它总是发生在我身上?

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

但 Facebook 显示的不是授权页面,而是带有

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?

使用 PHP-SDK 类通过 PHP 完成所有操作.

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

推荐答案

我遇到了和你一样的问题.

I have had the same problem as you.

在 Facebook 开发者应用页面,确保沙盒模式已禁用.

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

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

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