改变推文内容

时间:2012-08-17 03:24:04

标签: button twitter

<a href="https://twitter.com/share" class="twitter-share-button" data-via="ivo_sanz">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

我在twitter.com上得到了这个,我想改变将会发生的事情。

例如我想发推文

"tweet me please"

1 个答案:

答案 0 :(得分:0)

试试这个

 <a href="https://twitter.com/intent/tweet?text=Tweet%20me%20please" class="twitter-hashtag-button" data-size="large" data-via="ivo_sanz">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>