Linkein、facebook、twitter对应的分享接口和调试工具

linkein 开发者平台

开发者工具: https://developer.linkedin.com/docs/share-on-linkedin
领英分享平台调试平台:https://www.linkedin.com/post-inspector/inspect/
gengerator share: https://developer.linkedin.com/plugins/share#

facebook 开发者平台

网站的分享最佳实践: https://developers.facebook.com/docs/sharing/best-practices#images
分享调试器: https://developers.facebook.com/tools/debug/sharing/

twitter 开发者平台

optiomize tweets with card: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started
dev-tool-test:https://cards-dev.twitter.com/validator

语义化网络 facebook open graph and twitter card

https://www.biaodianfu.com/facebook-open-graph-twitter-card.html

各个社交平台对应的分享链接:

{
linkedin: "https://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&source={{SOURCE}}&summary={{DESC}}&armin=armin",
facebook: "https://www.facebook.com/sharer/sharer.php?u={{URL}}&t={{TITLE}}",
twitter: "http://www.facebook.com/sharer/sharer.php?u={{URL}}",
google: "https://plus.google.com/share?url={{URL}}",
twitter: "https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{ORIGIN}}"
}

参考分享代码

share.js

参考文档:
web如何将动态内容分享到Facebook,Twitter等社交平台
overtrue/share.js

posted @ 2018-09-29 20:47  JonPan  阅读(6138)  评论(0编辑  收藏  举报