Twitter announces Tweet Button
Most bloggers, and even large sites, use this service. It's easy to see, for those "tweet" buttons that are in the news and articles.
Previously, such a button could only be made through third-party services, but twitter decided to take away some of the cake from them and created their own Tweet Button . With the help of Tweet Button, site visitors will be able to share the article with their readers on the microblog. The button has three different external views: horizontal, vertical and without a counter. In order to create a convenient button for tweets on your site, go to
For Datalife users, you will have to make a number of edits so that the script works correctly. We offer you a ready-made version. You only need to copy it and place it wherever 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>
Interested persons can see the full list of the button's parameters on the page
!!! It is advisable to copy widgets.js to itself on hosting, and to call the link from the root ... So it will be faster
Comments
When commenting on, remember that the content and tone of your message can hurt the feelings of real people, show respect and tolerance to your interlocutors even if you do not share their opinion, your behavior in the conditions of freedom of expression and anonymity provided by the Internet, changes Not only virtual, but also the real world. All comments are hidden from the index, spam is controlled.