https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_PC_APIs/share.htmlhttps://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_PC_APIs/guideline.html
source 传入timeline,但是弹出的框还是分享到caht的,不是朋友圈的
wxopensdk.shareLink({
url: "分享链接",
txt: "标题",
desc: "卡片的描述",
appid: "网站应用 appid",
thumburl: "缩略图url",
source: "chat", // "timeline" 朋友圈
ticket: "后台获取的ticket",
});
wxopensdk.shareImage({
imageUrl: "分享图片 url",
appid: "网站应用 appid",
source: "chat", // "timeline" 朋友圈
ticket: "后台获取的 ticket",
});

你好,报错提示什么呢?
请问您问题解决了吗?我也是只能分享到朋友,将 source 改为 timeline,调起的仍然是发送给朋友,而不是朋友圈。
你好,请问引入了wxopensdk但是拿不到知道是什么原因吗?