php实现只需要一个QQ号就可以获得用户信息


"; $headimg = "http://q1.qlogo.cn/g?b=qq&nk=$QQ&s=100&t=1547904810"; echo "QQ头像:"; echo "

"; echo ""; echo "

"; $email = $QQ."@qq.com"; echo "QQ邮箱:".$email; echo "

"; echo "JSON数据:"; echo "[{\"nickname\":\"$nickname\",\"touxiang\":\"$headimg\",\"email\":\"$email\"}]"; }else{ echo "请输入qq号!"; } ?>

DEMO:http://liketube.cn/sdk/?qq=此...

你可能感兴趣的:(php,用户信息,qq登录,接口,qq互联)