Public platform development public platform development mode enterprise public platform one-click attention
I. use HTTP protocol
We recommend Bean Cube. click here.
II. use weixin protocol
Bean Cube
Or
Click follow Bean Cube
III. use JavaScript code
Var addWxContact = function (wxid, cb) {if (typeof WeixinJSBridge = 'undefined') return false; WeixinJSBridge. invoke ('addcontact', {webtype: '1', username: wxid}, 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
Https://open.weixin.qq.com/subscribe? Appid = wxb629c48b653e
5. subscription binding
After decoding
Https://login.weixin.qq.com/l/E0LsxoTaRxC_HM