http://q2.qlogo.cn/headimg_dl?dst_uin=QQ号码&spec=640
http://p.qlogo.cn/gh/QQ群号码/QQ群号码/640
http://wpa.qq.com/msgrd?v=3&uin=37502105&site=qq&menu=yes
//获取QQ昵称
function get_qq_nick($qq) {
$get_info = file_get_contents('https://api.unipay.qq.com/v1/r/1450000186/wechat_query?cmd=1&pf=mds_wechat_qb-__mds_wxservice_menu_qb_-html5&pfkey=pfkey&from_h5=1&from_https=1&openid=odFzSjsgdltaG1ffN4qSoLz7UTl4&openkey=40_Nr1p8u8oZQLfLy2cEAstcmlcTXBkwG8EjKfJkJyWPbRI7xuukfVF-0_K27Gj6HlmxF_Dxm03vYSVwVoqnqKcGnFGYDjx6m2lfXYjpfLTlLw&session_id=hy_gameid&session_type=wc_actoken&qq_appid=&offerId=1450000186&sandbox=&provide_uin=' . $qq);
$name = json_decode($get_info, true);
if(!isset($name['nick'])) return false;
$name = urldecode($name['nick']);
return $name;
}