我們用過AddThis,AddAny以及百度分享等集成工具,但都需要JS的支持,有點拖速度,同事去找了一些種直接用鍊接就可以做分享的,我整理如下:
Facebook:
文檔:https://developers.facebook.com/docs/workplace/sharing/share-dialog/
例子(過時):https://www.facebook.com/sharer.php?title=EmojiAll&u=https://www.emojiall.com/zh-hant/emoji/%F0%9F%98%82
Twitter:
文檔:https://dev.twitter.com/web/tweet-button/web-intent
例子(過時):https://twitter.com/share?text=EmojiAll&url=https://www.emojiall.com/zh-hant/emoji/%F0%9F%98%82
Google+:
文檔:https://developers.google.com/+/web/share/#sharelink
例子:https://plus.google.com/share?url=https://www.emojiall.com/zh-hant/emoji/%F0%9F%98%82
新浪微博:
文檔:https://open.weibo.com/wiki/ShareCode
例子:http://service.weibo.com/share/share.php?url=https://www.emojiall.com/zh-hans/emoji/%F0%9F%98%82&pic=https://www.emojiall.com/logo-dark.png&title=Emoji%E4%B8%AD%E6%96%87%E7%BD%91&appkey=appkey
豆瓣:
文檔:https://www.douban.com/note/62083269/
例子:http://www.douban.com/recommend/?url=https://www.emojiall.com/zh-hans/emoji/%F0%9F%98%82&title=emoji%E4%B8%AD%E6%96%87%E7%BD%91
QQ空間:
文檔:https://wiki.connect.qq.com/%E5%88%86%E4%BA%AB%E5%88%B0qq%E5%92%8Cqq%E7%A9%BA%E9%97%B4
例子:http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=https://www.emojiall.com/zh-hans/emoji/%F0%9F%98%82&title=emoji%E4%B8%AD%E6%96%87%E7%BD%91&pics=https://www.emojiall.com/logo-dark.png
评论