微信H5分享给朋友或朋友选,success回调问题?

小程序 文章 2022-02-24 11:20 2698 0 全屏看文

AI助手支持GPT4.0

微信H5分享给朋友或朋友选,success回调问题?Share WeChat H5 to friends or friends to choose, success callback problem?

微信H5分享给朋友或朋友选,success回调问题?

onMenuShareAppMessage、onMenuShareTimeline使用这两个方法分享给朋友之后,打开分享的链接,调用success中的提示,取消分享也调用seccess中的提示。

updateAppMessageShareData使用这个方法,注册完成之后就回调success。

有没有解决办法,还是用错了?

After onmenushareappmessage and onmenusharetimeline use these two methods to share with friends, open the sharing link and call the prompt in success. If you cancel sharing, you can also call the prompt in seconds. Updateappmessagesharedata uses this method to call back success after registration. Is there a solution or is it wrong?

回答:

圣殿骑士:

无法监控用户是否真实分享哦

success只能获取到是否点击

小黎:

监测不了,你没发现很多小程序或者app只要点了分享都算成功么

tao:官方文档中写了回调,不知道有这种问题
小黎:是有回调,点了分享就是成功
青寒:

官方故意设置的,不让开发者获取用户分享的结果。

tao:好大一个坑
崔丛丛:该问题之前就专门出了个啥规定,要求无论是否分享成功都算分享了,很长时间了这个

-EOF-

AI助手支持GPT4.0