有没有办法让 twitter 在使用自定义按钮时生成我的 url 的缩短版本(根据:https ://dev.twitter.com/docs/tweet-button#build-your-own )。
我不需要任何计数器,我只想分享一个文本、缩短的 url 和一个标签。
var twUrl = 'http://twitter.com/share?count=none&text=' + encodeURIComponent(text) + '&url=' + url + '&hashtags=' + encodeURIComponent(hashtags);
window.open(twUrl, 'sharer', 'toolbar=0,status=0,width=650,height=254');
谢谢!