Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 670 Bytes

2011-06-15-twitter-embed-code.markdown

File metadata and controls

13 lines (10 loc) · 670 Bytes
layout title type link
proxima/link
Excellent embedding markup
link

I was playing around with Twitter's new Follow Button and I couldn't help but notice that the embedding markup is some of the best I've ever seen.

<a href="http://twitter.com/kneath" class="twitter-follow-button" data-show-count="false">Follow @kneath</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>

I love the idea of using regular HTML with feature-flags in data attributes combined with a common script. Can't wait to play around with this style on Gist.