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!