Created
October 9, 2011 22:12
-
-
Save rweald/1274276 to your computer and use it in GitHub Desktop.
How Twitter configures a tweet button with only markup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script> | |
<div> | |
<a href="https://twitter.com/share" class="twitter-share-button" | |
data-url="https://dev.twitter.com/pages/tweet_button" | |
data-via="your_screen_name" | |
data-text="Checking out this page about Tweet Buttons" | |
data-related="anywhere:The Javascript API" | |
data-count="vertical">Tweet</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment