Those things developed by WeChat public account

1.JS-SDK
quote
JSSDK's "Share to Moments" and "Send to Friends" interfaces, the custom sharing link, its domain name or path must be the same as the public account JS security domain name corresponding to the current page, otherwise the call will fail.

For example, if the current page is http://www.abc.com/123, and the JS security domain names corresponding to its official account are www.abc.com and www.xyz.com, then share the custom link http://www.abc .com/456 can succeed, sharing http://www.xyz.com/123 or http://www.def.com/123 will fail.

For webpages that are not connected to WeChat JSSDK or have been connected but failed to call the JSSDK, when shared by users, the shared card will use the default thumbnail and title profile uniformly, and customization is not allowed.


After doing it for a long time, it is good to customize the sharing in the development tool, and it is always shared in the form of a link in the mobile phone. After searching for this notice, the problem was solved. The interface document is still an old version, which does not indicate that it should be updated.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326223121&siteId=291194637