The official SDK for QQ logon has been modified to make it easier to integrate into your website.
The official SDK for QQ logon has been modified to make it easier to integrate into your website.
Instructions for use:
1. log on to the http://connect.qq.com/apply for QQ appid, appkey.
2. decompress the QQ logon interface and upload the entire qq directory to your website.
3. run http: // your domain name/qq/install. php to configure QQ logon.
4. add two fields to the user table of the database, access_token (varchar (50) and openid (varchar (50 )).
5. open qq/config. php, modify the database connection and user table information on your website, and upload and overwrite the information.
6. open qq/oauth. php and modify lines 12th and 25 to how to save the user ID using session after your website is successfully logged on.
7. open qq/bind. php and modify lines 12th and 46 to how to save the user ID with session after your website is successfully logged on.
8. place it in the location where you want the user to log on.