HybridAuth Facebook返回无效的用户ID [英] HybridAuth Facebook returned an invalid user id

查看:140
本文介绍了HybridAuth Facebook返回无效的用户ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

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中

tried a lot of things like to add in the base_facebook.php

CURLOPT_SSL_VERIFYPEER => false

为了提高卷曲超时时间,但它不起作用。

该应用程序不再在Facebook沙箱模式了,所以我字面上没有猜到离开。

aswell as to improve the curl timeout, but it wont works.
The app isnt in facebook sandbox mode anymore so I literally have no guess left.

推荐答案

我刚刚通过设置您的应用程序密码是否嵌入了解决了这个问题?在 https://开发人员的高级设置标签中切换到否 .facebook.com / x / apps / myid / settings / advanced /

I just solved that problem by setting the "Is your App Secret embedded?" switch to "no" in the "advanced settings" tab on https://developers.facebook.com/x/apps/myid/settings/advanced/ .

这篇关于HybridAuth Facebook返回无效的用户ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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