【发布时间】:2017-06-25 17:14:53
【问题描述】:
这个问题让我难过了一阵子。 我在 CodePen 中有以下代码:
<a class="twitter-share-button color-change"
href="https://twitter.com/share" target="_blank"
data-size="large"
data-text="Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it's the only thing that ever has. - Margaret Mead"
data-hashtags="RuairiMcN">
<i id="twitter" class="fa fa-twitter-square fa-3x" aria-hidden="true"></i></a>
这是一个 Twitter 分享按钮,它应该会打开一个 Twitter 页面,您可以在其中使用“数据文本”的内容发布推文。但是,如果您关注它,则 Tweet 框会填充不同的内容: "https://s.codepen.io/boomerang/iFrameKey-b5c36245-7638-5a23-0a1b-4b5fab51692a/index.html"
不知道这是从哪里来的。从 Twitter Dev 区域重新读取此按钮的参数,但没有成功。
【问题讨论】: