请找到jsfiddle链接“http://jsfiddle.net/HDT8J/2/”
<div id="twitter"><a href="https://twitter.com/share?url=/" class="twitter-share-button" data-text="I am a tweet. I have exactly 140 characters. If you want to make sure that I only have 140 characters you can check for http://bit.ly/N7vu5k" data-count="horizontal">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></div>
当我尝试用tweetWithUrl字符串发布推文时,它显示-2作为字符限制,我无法发布推文
当我用tweetWithText字符串做同样的事情时,它需要140个字符限制
我发现即使“http://bit.ly/N7vu5k”这个网址长度为20,仍然在推文中计算额外的2个字符。