wx.onMenuShareAppMessage 分享无效,只有一个公众号又这个问题,是什么原因?

小程序 文章 2021-12-29 12:40 1474 0 全屏看文

AI助手支持GPT4.0

wx.onMenuShareAppMessage 分享无效,只有一个公众号又这个问题,是什么原因?wx.onMenuShareAppMessage sharing is invalid. There is only one official account and this problem occurs. What is the reason?

wx.onMenuShareAppMessage 分享无效,只有一个公众号又这个问题,是什么原因?

调用 wx.onMenuShareAppMessage 自定义分享,无法显示缩略图以及标题,分享的 url 也不是自定义的,分享成功的回调也没有走,目前只有这一个 appId 下的公众号有这个问题,有没有人帮忙解答下,急急急!!!

Call Wx OnMenuShareAppMessage custom sharing, unable to display thumbnails and titles, the URL is not shared, the callback of sharing success has not gone, only the official account of this appId has this problem, has anyone helped to solve it, urgent and urgent!!!

回答:

真烦他四叔:

加一,排除了所有能想到的原因,还是分享不了

曹孟良:

看看代码

崔丛丛:

首先告诉你,分享是否成功都没有回调了,因为微信取消了;第二个分享需要通过公众号菜单,不能通过链接分享,链接分享就没有图片,你可以实验一下,欢迎咱们共同探讨一下这个问题

灯塔:不是的,我换一个 appId 就可以,并且也走了成功回调,这个成功、失败、取消的回调都没走
崔丛丛:那需要继续摸索一下

-EOF-

AI助手支持GPT4.0