WeChat public platform development one-click follow WeChat public platform account

Source: Internet
Author: User
This article introduces one-click public platform account for public platform development and uses HTTP protocol

[Expired]

Click follow Fang times studio.

II. use weixin protocol

Method 1: [invalid]

Click follow Fang times Studio

Method 2: [invalid]

Click follow Fang times Studio

Method 3: [valid for Android and invalid for Apple]

Click follow Fang times Studio

III. use JavaScript code

[Valid only for official domain names]

Var addWxContact = function (wxid, cb) {if (typeof WeixinJSBridge = 'undefined') return false; WeixinJSBridge. invoke ('addcontact', {webtype: '1', username: 'GH _ 204936aea56d '}, function (d) {// Return d. err_msg value, and d has another attribute: err_desc // add_contact: cancel user cancel // add_contact: fail follow failed // add_contact: OK follow success // add_contact: added has followed WeixinJSBridge. log (d. err_msg); cb & cb (d. err_msg );});};

IV. dedicated for some accounts

[Expired]

https://open.weixin.qq.com/subscribe?appid=wxb629c48b653e

V. dedicated DNS

[Effective for Shuaifu]

After decoding

https://login.weixin.qq.com/l/E0LsxoTaRxC_HM

The above is the details of one-click public platform account for public platform development. For more information, see other related articles on php Chinese network!

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.