Quickly integrate QQ logon interfaces into your website

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.