From Jerry’s colleague Xu Haytham.
There are four kinds of development related to wechat: wechat small program, wechat public account (including the internal Web of the public account), APP and Web. Wechat aims at the four ways. The official documents provide the following sharing functions:
Wechat mini program does not support sharing pictures to moments
Come with share function, but can only share to friends or groups, share is small program cards. Since wechat applet supports storage function, most online practices are to use canvas to generate pictures and save them locally, and then choose to share them to moments from the album.
Pinduoduo, for example, only has the function of sharing with friends. There is no sharing function in moments.
Wechat public account (including the Web inside the official account) — wechat public platform. The —- JS SDK does not support sharing images. The payload consists of titles and ICONS.
APP — wechat open platform requires registration APP, which supports photo and video sharing
CSDN’s sharing to moments is this function
Web – wechat open platform does not support sharing
Wechat’s official document states that sharing should be voluntary, and inducing sharing may result in a permanent ban on the ability to share.
For more of Jerry’s original articles, please follow the public account “Wang Zixi “: