`
haohappy2
  • 浏览: 326122 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

QQ connect client request's parameters are invalid, invalid openid

 
阅读更多

if you want to get user infomation such as nickname

require_once("API/qqConnectAPI.php");
$qc = new QC();
$acs = $qc->qq_callback();
$oid = $qc->get_openid();
$qc = new QC($acs,$oid);
$uinfo = $qc->get_user_info();
$_SESSION['name'] = $uinfo['nickname'];
$_SESSION['gender'] = $uinfo['gender'];

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics