微信小程序分享朋友圈功能,为什么只能开发者自己分享?别人打开小程序后不能再分享吗?

小程序 文章 2022-03-28 11:00 668 0 全屏看文

AI助手支持GPT4.0

微信小程序分享朋友圈功能,为什么只能开发者自己分享?别人打开小程序后不能再分享吗?Why can only the developers share the WeChat applet sharing function in the circle of friends? Can others not share after opening the applet?

微信小程序分享朋友圈功能,为什么只能开发者自己分享?别人打开小程序后不能再分享吗?

如上题,谢谢各位。

例如:我做了一个微信小程序,我分享到我自己朋友圈没有问题。但是当别人打开我的小程序,想分享到他的朋友圈的时候,分享不了。

请问是根本没有办法,还是需要增加代码?谢谢

As above, thank you. For example: I made a wechat applet, and I have no problem sharing it with my own circle of friends. But when someone opens my applet and wants to share it with his circle of friends, he can't share it. Is there no way at all, or do you need to add code? thank you

回答:

xxxidream:

是不是别人的设备是ios?

马:
onShareAppMessage: function () {    let that = this    return {      title: that.data.content,      path'/pages/content/content?product2=' + that.data.content,      imageUrl"/tuku/ZG.png",    }  },  onShareTimelinefunction(){    let that = this    return{      title:that.data.content,      query:'product2=' + that.data.content,      imageUrl:""    }  }你好我的是以上代码,是我代码有问题吗?我现在可以实现自己分享到朋友圈功能。谢谢
destiny:

马:

-EOF-

AI助手支持GPT4.0