H5点击链接跳转到关注微信公众号页面

1. 登录微信公众号平台

2.在首页右键查看网页源代码

3. 在网页源文件找到uin(微信公众号唯一ID)和uin_base64(微信公众号唯一ID的base64编码)

4.构造微信公众号关注页面的链接地址

https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=获取的uin_base64字符串#wechat_redirect

5.若无uin_base64字段,把uin进行Base64编码,用base64编码结果替换链接地址

https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=获取的base64编码结果字符串#wechat_redirect

6.点击链接跳转到微信公众号的关注页面

原文地址:https://www.cnblogs.com/Intellectualscholar/p/15773891.html