Click on the custom button on the website to initiate the QQ chat solution

Source: Internet
Author: User

I. BACKGROUND

Recently, due to development needs, you need to customize an immediate chat button on the website, now share the solution to everyone.

Second, the solution

1. First visit: http://shang.qq.com/widget/consult.php, the application needs to be used as the purpose of the QQ number to log in, and then click on the Pop-up window of the "Free open Now" button to enter the following page:

  

2. Select the component style and the prompt you want, then copy the code from the text box in the following screen to the specified location on your site. Or you select the tagged URL in the snippet (http://wpa.qq.com/msgrd?v=3&uin=1281616040&site=qq&menu= YES). Then customize the button style, make the button click on the event to open a new tab and set the address as the URL.

  

3. Set the purpose of the QQ permissions:qq-> permission settings, "Do not accept any temporary session" hook removed

  

Iii. Summary

After such a few steps, the implementation of the click on the site of the custom button pop-up and specify the QQ number chat function, very simple is also very practical!

Click on the custom button on the website to initiate the QQ chat solution

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.