【发布时间】:2012-07-05 15:56:50
【问题描述】:
Twitter 有一个漂亮的分享 API。如果我想自定义文本,我只需将其包含在我要链接到的 URL 中:
<a href="https://twitter.com/share"
class="twitter-share-button"
data-text="whoa, check out this SUPER-EASY CUSTOMIZED TWEET TEXT!"
data-via="foo">
Tweet
</a>
我的问题是,是否有办法通过 Facebook、Google Plus 和 LinkedIn 做到这一点。
我希望能够做到这一点不必将 og 元标记放在链接目标中。基本上,我希望共享按钮本身具有该知识,而不是链接目标了解该消息。
谢谢
【问题讨论】:
标签: facebook share facebook-opengraph linkedin google-plus