Jumat, Desember 25, 2009

How to Add Twitter Widget to Your Blog in Two Steps

Twitter has become phenomenally popular around the world. So if you are an avid blogger and a twitterer yourself, then you must be wondering how to synchronize them both? Here is a simple trick that will add twitter gadget to your blog so that you can be updated on both in a single window.

You only have to copy/paste the code into your sidebar. Follow the steps given below to add the widget into your blog's sidebar.

* Log in to Blogger.
* Go to Layout > Page Elements.
* Click on Add a Gadget.
* Select HTML/JavaScript from the list. Copy/paste the code given below and Save.


<div id="twitter_div">
<ul id="twitter_update_list">
<a id="twitter-link" style="display:block;text-align:right;" href="http://twitter.com/rachmanarif">follow me on Twitter
</div>
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript">< /script>
<script src="http://twitter.com/statuses/user_timeline/rachmanarif.json?callback=twitterCallback2&count=10" type="text/javascript">
</script>


Replace rachmanarif by your twitter username. You can also select the number of message updates you want to display by changing the twitterCallback2&count=10 part to any number.

0 comments:

Posting Komentar

Silahkan berkomentar dan mengkritik
ataupun memberi saran yang bersifat
membangun! Terimakasih.