Thursday, 10 May 2012

Simple Twitter Button For Blog

Did you see the twitter button above. Its a live demo of the tutorial which i am going to write.
Twitter is the most used social media after facebook and YouTube. You can share your thoughts (Tweets) to your followers. It makes your reader very easy to follow you. If they are logged in to their twitter account then with one click they can follow you directly from the page they are reading on.
This widget is somewhat impressive and have a good visual. It also comes with the number of followers you have in your twitter account. So you can impress others by displaying your number of followers.
So what are you waiting for. Let is procure and have this great widget:
1. Sign in your blogger account.
2. Be forwarded to dashboard>design>page elements.
3. Click on "Add a gadget".
4. Scroll down a bit and hit Html/Javascript.
5. Inside the content box of that very gadget copy the below code and paste it there.

<!-- Twitter follow button start -->
<a href="http://twitter.com/martingajurel" class="twitter-follow-button">Follow @Blogging Sentral</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Twitter follow button end -->
6. Here i have kept my info. Just replace:
  • martingajurel with your own twitter user name.
  • Blogging Sentral with your own characters to display.
7. Click on save and view your twitter follow/followers button. With the help of this widget your follower number will also increase and will increase your online presence.
Congrats your twitter buttons is successfully installed. You can keep it wherever you like but it should support HTML. Keep on reading our upcoming posts.

No comments:

Post a Comment