This page has been robot translated, sorry for typos if any. Original content here.

Twitter announced Tweet Button

Recently, the popularity of twitter is only growing. Entire sites appear that accompany this service, introduce something new, as well as individual projects that only publish information for those who use twitter.

Most bloggers, and even large sites, use this service. It is easy to see, for those buttons "tweet", which is in the news and articles.

Twitter анонсировал Tweet Button Previously, such a button could be made only through third-party services, but twitter decided to take away some of the cake from them and created its own Tweet Button . With the help of Tweet Button, visitors to the site will be able to share the article with their readers on a microblog. The button has three different appearance: horizontal, vertical and no counter. In order to create a convenient button for tweets to your site, go to Tweet button where we choose the form, we choose the language (there is no Russian), we get the code that can be easily inserted into any site.

Datalife users will have to make a number of edits to make the script work correctly. We offer you a ready option. You only need to copy it and place it where you want the button to appear.



<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="http://twitter.com/share" class="twitter-share-button"
data-url="{full-link}"
data-text="{title}"
data-related="anywhere:The javascript API"
>Tweet</a>
</div>



Those interested can see the full list of button options on the page Tweet Button FAQ .


!!! It is desirable to copy widgets.js to your hosting, and call the link from the root ... So it will be faster :)