How does Mini Program judge that users enter the page by clicking on small cards shared by others? How do I pass a specific value on this page?

how does Mini Program judge that users enter the page by clicking on small cards shared by others? How do I pass a specific value on this page?

Jun.04,2021

part 1: pages with sharing function: add parameters to the path address in the onShareAppMessage:function () {} function (fail is misspelled in the user's id) (code, not fali):

:(onLoad)option:

:onshowapp.getUserInfo();app.share():

The scene value 1036 available in

onlaunch and onshow is App sharing message card
specifically, the scene value of API
https://developers.weixin.qq.


simulator is normal, but the scene value on the real machine is 1037


Hello. Is the scene value shared by friends on the real machine 1037

?
Menu