Home >Web Front-end >JS Tutorial >js implementation of universal WeChat sharing component example_Basic knowledge
1. Definable information
1. The LOGO displayed when sharing;
2. The width of the shared LOGO;
3. The height of the shared LOGO;
4. The title displayed when sharing (the webpage title is called by default);
5. The description displayed when shared (the webpage title is called by default);
6. Sharing link (the URL of the current page is called by default).
7. Share the APPID of WeChat (usually empty).
2. How to use
1. Introduce WeChat sharing component js:
// 分享到朋友圈
WeixinJSBridge.on('menu:share:timeline', function(argv){
_ShareTL();
});
}, false);
}