The uni.share sharing method officially provided by uniapp can only realize the sharing function of h5 and app, but cannot realize the sharing of WeChat mini programs and other mini programs.
Today I will briefly record how the WeChat applet implements the sharing function of articles and pictures.
1. Mini program article sharing
path: is the address of the shared article, and can take parameters
2. Picture sharing
The above is the WeChat mini program article sharing and picture sharing. It is effective in personal testing.