Mini program adds the function of following related official accounts.

Published: 2018-10-10

The Mini Program adds the function for following related Official Accounts:

1. Before using the component, go to the WeChat Mini Program platform mp.weixin.qq.com, and enable the Official Account to be displayed under "Settings" -> "Follow Official Account" -> "Guide to Follow Official Account".Note: The configured Official Account must be under the same entity as the Mini Program.


image.png


2. Add the component on the Mini Program management platform:


image.png



Note: Within the lifecycle of a Mini Program, only when entering the Mini Program from the following scenarios does it have the ability to display the guide-to-follow Official Account component:


  • ·When the Mini Program is opened by scanning a QR code (excluding entering via long-press recognition);

  • ·When the Mini Program is opened by scanning a Mini Program code (excluding entering via long-press recognition);

  • ·When the Mini Program is opened from "Recently Used" in the chat top scenario, if the Mini Program has not been destroyed previously, the component remains in the state from the last time the Mini Program was opened;

  • ·When returning to the Mini Program from another Mini Program, if the Mini Program has not been destroyed previously, the component remains in the state from the last time the Mini Program was opened.