网页获取登录的qq号码解决方法

WBOY
Release: 2016-06-13 11:47:05
Original
2160 people have browsed it

网页获取登录的qq号码
只要用户打开网页,就能检测到用户电脑上已经登录的qq(注意是用户电脑上登录的qq),然后获取用户登录的qq号码就行了。

不管是js php jsp asp 只要能实现就行了。 


------解决方案--------------------
刚刚简单研究了一下 应该可以实现的。QQ用的auth权限认证。最后可以读到QQ号的。比较麻烦。跳转了N次。每次都要带上很多cookies。告诉你研究思路

1.maill.qq.com 打开会自动提示登录  ---用的https  估计你也搞不定
2.随便找一个 discuz 的论坛 比如官网【http://www.discuz.net/】里面有个【用qq号登录】 点击后。分析所有的url地址。你会在下面发现有一个
http://ptlogin2.qq.com/getface?appid=716027610&imgtype=3&encrytype=0&devtype=0&keytpye=0&uin=你的QQ号&r=0.9569594876375049 
哈哈。这个可以读到。通过上面好几个url里面读到的。你自己慢慢研究吧。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!