WeChat public dialog box reply message link to jump to the small program
In the course of the project, you may encounter the need to click on an icon or text in the interface of the WeChat public platform development to jump to the applet, which is more conducive to the user to access the applet, if the card of the applet is inserted directly into the article, this function is already available in the article editing column.
Now it's like this, follow the public reply message or keyword auto-reply message inside, you can directly jump to the small program Oh.
Image.png
Relying on Tencent's strong support, and after reading the documentation and online materials, this was successfully implemented: the
reference document:https://developers.weixin.qq.com/miniprogram/dev/api/sendCustomerMessage.html
Step 1: The public number should be associated with the applet Add the relevant applet in the WeChat public number management background, and the administrator confirms the requirements for successful association.
Step 2, the code
Inside this code replace the appid that has already been associated with the public, and the home path of the applet that is already live.
<a data-miniprogram-appid="wxeab07b9c9e37c0e9" data-miniprogram-path="pages/index/index" href="http://www.qq.com"> Time saving applet</a>
Originally Posted by Praying for Clarity Girl. Technical blog.https://www.jianshu.com/u/05f416aefbe1 A 90-year-old front-end girl who loves programming, operations and tossing. Consistently summarize technical problems encountered in the course of work over time.