javascript - I recently used WeChat developer tools when sharing an h5 link, but since it was a bit vague the first time I used it, I didn't quite understand some parts.
怪我咯
怪我咯 2017-06-12 09:20:34
0
1
610

Sharing on qq is relatively normal
Using title, the first img tag of html combined with the meta tag to achieve
Sharing on WeChat like this is a mess
After checking, it turned out that WeChat did not authorize you. And after authorization, make corresponding js configuration corresponding to WeChat js-sdk
For those developed in conjunction with WeChat jssdk To summarize the process:
1. Register a WeChat public platform account to obtain the corresponding permissions
2. Bind a domain name
3. Download the official js-sdk to prepare for development
But do I need a backend when using the sharing interface here? Should we cooperate or can I just insert js into the page to customize it?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
某草草

hi, share my experience.
If your company has not yet opened a certified public account, WeChat will have a test public account that can be used for testing. The test public account contains most of the permissions of jssdk. Domain names can be mapped using ngrok, peanut shell and other tools Develop locally.
WeChat jssdk requires background cooperation

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template