https://chinawrr.com/ 这个页面在分享的时候就可以看到自定义的文字和图片
https://chinawrr.com/staticData/xwjj/20210205/1921.html?from=news&ac=0 这个详情页在分享的时候获取不到自定义的文字和图片
可以帮我看下是我的链接有问题么
微信分享无法分享成功?Can't share on WeChat share successfully?
微信分享无法分享成功?https://chinawrr.com/ 这个页面在分享的时候就可以看到自定义的文字和图片
https://chinawrr.com/staticData/xwjj/20210205/1921.html?from=news&ac=0 这个详情页在分享的时候获取不到自定义的文字和图片
可以帮我看下是我的链接有问题么
https://chinawrr.com/ This page can see customized text and pictures when sharing https://chinawrr.com/staticData/xwjj/20210205/1921.html?from=news&ac=0 This detail page can't get custom text and pictures when sharing. Can you help me to see if there is any problem with my link
回答:
调这个接口生成签名的时候去掉?from=news&ac=0&_=1612682351129这段参数试一下,可能后端把这段参数也拿去生成签名了
经测试:https://chinawrr.com/staticData/xwjj/20210205/1921.html,不带参数,分享有图文
原文出处:微信分享无法分享成功?
找到问题了,因为我携带的参数中有一个key是from,而from似乎也是微信那边的一个参数,因此就出现了冲突,谢谢大家帮忙解决问题