getButterfly Logo getButterfly code wrangling since 2005

For those of you who did not find out yet, Twitter released a new button feature, similar to what TweetMeme tried to implement, and to Digg style buttons. The new button, which can be seen and tested at the end of this post, has a slicker appearance and shows the total number of tweets.

The Digg style Twitter button code is the following:

[js]<a href=”” data-count=”vertical” data-via=”butterflymedia”>Tweet</a><script type=”text/javascript” src=””></script>[/js]

My Twitter style code is the following:

[js]<a href=”” data-count=”horizontal” data-via=”butterflymedia”>Tweet</a><script type=”text/javascript” src=””></script>[/js]

Replace butterflymedia with your own Twitter username.

For further customization, try the Twitter goodies page here, or, if you prefer to dig deeper and adventure yourself in API land, visit the developer’s API section. You can configure almost everything, starting from colours to language to multiple Twitter usernames.

Subscribe to getButterfly Blog

Once a week or so we send an email with our best content. We never bug you, we just send you our latest piece of content.

If you found any value in this post, agree, disagree, or have anything to add - please do. I use comments as my #1 signal for what to write about. Read our comment policy before commenting! Comments such as "Thank you!", "Awesome!", "You're the man!" are either marked as spam or stripped from URL.

Leave a reply

Love programming?

Learn about the most amazing things. Get smarter everyday!