加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

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

以及改善卷曲超时,但它不会工作.
该应用程序不再处于Facebook沙盒模式,所以我确实没有猜测.

我刚刚通过设置“嵌入你的应用程序秘密吗?”解决了这个问题.在 https://developers.facebook.com/x/apps/myid/settings/advanced/的“高级设置”选项卡中切换到“否”.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读