In addition to QQ third-party login. and Weibo, and other third-party logins
QQ Third party login, follow oauth2.0 agreement here is the description http://www.cnblogs.com/yx520zhao/p/6616686.html
QQ third-party login needs to apply for AppID and appkey instructions see here Http://www.cnblogs.com/yx520zhao/p/6616672.html
Here you will find common AppID and Appkey
Callback Address:http:
//www.iwebshop.com/index.php
appid:101353491
Appkey:d F4e46ba7da52f787c6e3336d30526e4
Can be used for local testing
1. Download the SDK. Baidu QQ connected to find the home navigation document information is this address http://wiki.connect.qq.com/
2. download location See figure
3. Download it down. Unzip to the root of the Web site. The directory is named QQ.
That is to say. Now access the HTTP://WWW.IWEBSHOP.COM/QQ is able to open as shown in the look
Click to view example browser do not close.
4. Create a new index.php and then copy all the code in the/qq/example/oauth/callback.php. Then copy the 8th line of code in the/qq/example/get_info/get_info.php.
Adjust the introduction path. Get the following code
<?php
Require_once ("./qq/api/qqconnectapi.php");
QC=newqc(); QC=NEWQC (); Qc->qq_callback ();
QC?>Ge Top en id (; va r Dum p ( Qc?>getopenid (); Vardump (Qc->get_info ());
5. Go back to the browser. Click QQ Login and Log in.
The user information was successfully obtained.
Good text to the topfollow me to collect this article
PHP implementation QQ third-party login