First we need to associate the WeChat official account with the mini program, as follows:
(Learning video sharing: Programming video)
1. Menu related applet
2. Pictures and texts
Send the generated image and text as a message to the user. The user clicks on the image and text to enter the page, and the page The text/picture/mini program entered into the mini program will appear.
3. Ordinary messages (pay attention to automatic reply messages), only supports text
<a data-miniprogram-appid="你的小程序id" data-miniprogram-path="你的小程序地址" href="https://www.baidu.com">小程序</a>
4. Send template messages after the service account and enterprise account are authenticated
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277
Because there is only a personal subscription number, the template message does not I tried, but the official website gave a tutorial.
Related recommendations: Mini Program Development Tutorial
The above is the detailed content of How to jump from WeChat public account to mini program. For more information, please follow other related articles on the PHP Chinese website!