当前位置:网站首页>H5跳转微信公众号解决方案
H5跳转微信公众号解决方案
2022-07-30 23:19:00 【Champ.Ping】
1.适用场景
适用H5跳转公众号的场景
2.跳转方案
微信内H5跳转
微信内可链接直接跳转公众号关注页。
登陆微信公众平台(https://mp.weixin.qq.com),F12打开浏览器控制台console输入wx.commonData.data.uin_base64
https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=上方步骤输出的内容#wechat_redirect
如:
https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mabcd123xxx456==#wechat_redirect
该链接可直接在微信内进入公众号关注页(非公众号客户端不支持)。
微信外部H5跳转
微信外部浏览器无法链接直接打开公众号。
可采用 H5页面——>唤起微信小程序——>小程序引导页——>公众号客服的跳转流程。
申请企业认证小程序后,对接小程序跳转能力
官方提供了几种跳转能力,推荐使用urlLink,获取到https跳转链接,兼容性更好。
接口可直接返回跳转链接,但是每个链接只能一个用户使用,有效期最长30天,可结合redis缓存实现。
h5页面点击直接跳转小程序链接,将唤起微信公众号小程序,
小程序页面展示微信公众号关注引导页面,用户点击直接进入公众号。可在公众号发布一篇推文,插入公众号名片二维码等元素,使用小程序web-view组件展示,快速实现引导页。
用户可通过点击公众号蓝色字体,公众号名片或扫码进入公众号。
边栏推荐
- 2021GDCPC广东省大学生程序设计竞赛 B.Byfibonacci
- Go1.18升级功能 - 泛型 从零开始Go语言
- Summary of BFS questions
- 【MySQL】DQL相关操作
- tcp协议传输中的粘包问题
- HF2022-EzPHP复现
- MySQL进阶sql性能分析
- "Code execution cannot continue because MSVCP140.dll was not found, reinstalling the program may resolve the problem, etc." Solutions
- 二进制序列
- “蔚来杯“2022牛客暑期多校训练营4 L.Black Hole 垃圾计算几何
猜你喜欢
【Untitled】
Manually set transaction commit in mysql
可视化工具Netron介绍
Chevrolet Trailblazer, the first choice for safety and warmth for your family travel
Week 19 Progress (Understanding IoT Basics)
【MySQL】DQL相关操作
【LeetCode】55. 跳跃游戏 - Go 语言题解
Go语学习笔记 - gorm使用 - 事务操作 Web框架Gin(十一)
# # yyds dry goods inventory interview will brush TOP101: to determine whether there is a part of the list
Apache Doris series: In-depth understanding of real-time analytical database Apache Doris
随机推荐
mysql跨库关联查询(dblink)
PyTorch model export to ONNX file example (LeNet-5)
leetcode 406. Queue Reconstruction by Height 根据身高重建队列(中等)
【CTF】buuctf web 详解(持续更新)
2sk2225 Substitute 3A/1500V Chinese Documentation【PDF Data Book】
In MySQL, the stored procedure cannot realize the problem of migrating and copying the data in the table
2022.7.28
“蔚来杯“2022牛客暑期多校训练营4 L.Black Hole 垃圾计算几何
“蔚来杯“2022牛客暑期多校训练营4 DHKLN
2021GDCPC广东省大学生程序设计竞赛 H.History
Go的Gin框架学习
mysql中关于存储过程无法实现迁移复制表中数据问题
uniapp folding box secondary loop
$\text{ARC 145}$
The problem of sticky packets in tcp protocol transmission
“蔚来杯“2022牛客暑期多校训练营4 N.Particle Arts 规律 方差
Computer shortcut icon whitening solution
grub 学习
打动中产精英群体,全新红旗H5用产品力跑赢需求
uniapp develops WeChat applet - soft exam brushing applet