-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QQ关联登录之后,无法获取数据 #1
Comments
@tlikai 是的,应用处于未审核状态,不知道是否与这个有关系。还是返回上面的那个代码,没有值。 |
@forecho 我这边也是未审核的应用,方便把你代码发上吗? |
代码就是这个 array(4) { ["provider_uid"]=> string(10) "1288042931" 但是用QQ登录的时候,返回的还是那个代码: array(4) { ["provider_uid"]=> string(0) "" ["access_token"]=> NULL 2013/10/14 Kai Li [email protected]
|
@forecho 你在providers/OAuth2China_Provider_Qq.php文件下的resloveResponse方法中打印一下$response参数,看看输出结果是什么,应该就能找到问题在那了? |
@tlikai 在esloveResponse方法的 if 外打印$response参数,报错为: |
@forecho 好的,我今晚回去修复这个问题 |
@forecho 我这边无论怎么修改都没法触发和你相同的错误,不过根据你给的错误信息应该是不能以 |
@tlikai string(85) "callback({"error":100004,"error_description":"param grant_type is wrong or lost "}); " |
QQ登录之后,没有获取到数据,页面显示为
array(4) { ["provider_uid"]=> string(0) "" ["access_token"]=> NULL ["refresh_token"]=> string(0) "" ["expires_in"]=> NULL }
The text was updated successfully, but these errors were encountered: