当前位置:网站首页>H5 customized sharing in wechat
H5 customized sharing in wechat
2022-07-21 19:24:00 【Juvenile style】
problem : Shared through wechat api(updateAppMessageShareData) Customize sharing templates .
- After sharing, there is a link ( qq Normal sharing , There is a link after wechat sharing )
- The expectation is that
Problem analysis :
- First, make sure that you have passed wechat before sharing checkJsApi Interface check , And it's here wx.ready() Inside .
- In mobile development , Usually debug one bug When , It is more convenient to click the link to enter the page for debugging .( At this time, it has entered the pit )
- When you click the link to enter the page for debugging , You will be surprised to find out ,qq Normal sharing , We can get the expected result , Wechat sharing is invalid , What you share is a pure link .
solve :
- Scheme 1 : Copy the link of the page you want to share to Forage QR code official website To generate a QR code , Enter by scanning QR code , Share again , You can get the expected results .
- Option two : Share through wechat official account
- Option three : adopt app Share
summary : All in all , When debugging wechat sharing , Don't click the link directly , It is recommended to use scheme 1 for debugging .
边栏推荐
- Arduino I2C for TCA9548A应答扫描程序
- Translation and interpretation of the paper: anytime bottom up rule learning for knowledge graph completion [anyburr]
- Create high-performance applications and continuously optimize the user experience
- 分布式.CAP理论
- Configuration du Service FTP
- According to the framework's swagger interface document
- 渗透测试-文件包含漏洞以及php伪协议的应用
- SAP IDoc tutorial: definition, structure, type, format and table-019
- Software testing interview question: what is your biggest interest in testing? Why?
- 06 提取数据的json字符串
猜你喜欢
分布式.通用服务层缓存设计
分布式.CAP理论
2022 software testing skills jmeter+ant+jenkins continuous integration and test report generation tutorial
Web APIs DOM- 网页特效篇-元素大小和位置
TiDB 分布式批量解决方案
LBA converted to CHS formula
Penetration test - Application of file containing vulnerabilities and PHP pseudo protocol
strcspn、strchr特殊字符校验
Distributed Cap theory
Sorting out of high-frequency interview questions, answers and knowledge context of Android, a major Internet company in 2022
随机推荐
According to the framework's swagger interface document
MYSQL06_ Seven join operations and union all of sql99
Advanced C language (XIV) - Document Management
函数、方法和接口的区别
分布式.常用架构和服务拆分
Strcspn, strchr special character verification
Matrix
分布式.高并发概念和设计目标
Sorting out of high-frequency interview questions, answers and knowledge context of Android, a major Internet company in 2022
MYSQL09_精讲数据库数据类型
MYSQL07_ Get date function, aggregate function, string function
05 正则表达式语法
LBA转换成CHS公式
MYSQL06_sql99的7种JOIN操作、union all
Thread pool Thread number setting
Light the first LED
MYSQL08_子查询的概述、单行、多行、相关子查询
[performance optimization] MySQL common slow query analysis tools
C language introduction practice (10): module taking problem
4. Custom data source of security