ついーとボタン メモ
ツイートボタン
タグは全角表示にしているので、半角表示に戻してから利用する。
<a
href="
http://twitter.com/share?
count=horizontal&
hashtags=ハッシュタグ&
text=<?=urlencode(mb_convert_encoding('てきすと','UTF-8'))?>&
via=フォローしたい人&
url=<?=urlencode('URL')?>"
onclick="window.open(this.href, 'twitter_share', 'width=550, height=450,personalbar=0,toolbar=0,scrollbars=1,resizable=1'); return false;">
ツイート
</a>
参考リンク:
https://dev.twitter.com/docs/tweet-button
http://www.nomiso.net/2011/02/blog-post.html