php – HybridAuth Facebook返回了无效的用户ID
发布时间:2020-12-13 13:42:15 所属栏目:PHP教程 来源:网络整理
导读:我收到以下错误: 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. 尝试过很多东西,比如在base_facebook
我收到以下错误:
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. 尝试过很多东西,比如在base_facebook.php中添加 CURLOPT_SSL_VERIFYPEER => false 以及改善卷曲超时,但它不会工作.
我刚刚通过设置“嵌入你的应用程序秘密吗?”解决了这个问题.在
https://developers.facebook.com/x/apps/myid/settings/advanced/的“高级设置”选项卡中切换到“否”.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |