我正在使用HybridAuth作为我的网站登录。它适用于除facebook之外的所有东西。当我使用“登录facebook”时,它会返回一个错误:
Authentication error!
Authentication failed. The user has canceled the authentication or the provider refused the connection.
Original error message: Authentication failed! Facebook returned an invalid user id.我已经禁用沙箱模式。有人能帮我理解这一点吗?我该怎么做?
我从facebook登录后点击了“登录facebook”按钮,
然后返回如下错误,即出现facebook登录页面。
Warning
The website directing you here was not a Facebook page. If you entered your Facebook login information on the previous site, you will need to reset your password.
Email:
To learn more about staying safe on the internet, visit our Security Page. You can also check out the phishing Wikipedia article.发布于 2013-11-16 07:40:48
这是因为我的托管提供商(免费托管提供商)不允许HybridAuth与facebook通信。但是我搬到付费托管,问题解决了!
希望这对某人有帮助。
发布于 2017-06-14 10:20:18
如果使用代码点火器,则需要在apps\third_party\hybridauth\Hybrid\thirdparty\Facebook文件夹中找到base_facebook.php文件。
找到这一行:$response_params =$response_params $response_params);
并将其替换为:$response_params =$response_params true);
希望你的代码能起作用。
https://stackoverflow.com/questions/19874203
复制相似问题