Skip to main content

Rotate

Rotating Twitter Widget

Finally after months of searching and testing the much coveted rotating Twitter widget, I finally got the right code. Also, this code includes retweets, even the new retweet function.

Before anything else, every Blogger blogger should know that when you try to make changes to your template it is always imperative to backup your template.

Step 1


Go to template > edit HTML > find </head>

Paste the following code before </head>

<!-- jQuery library -->
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>

<!-- Tweet Rotator -->
<script src='http://dl.dropbox.com/u/34682988/TwitterFeed/scripts/rotate.js' type='text/javascript'/>


Save template.

Step 2


Add HTML widget and add the following code.

<div id="twitter_div">
<ul id="twitter_update_list" class="rotate"></ul>

<!-- Twitter Feed -->

<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>

<script src="http://api.twitter.com/1/statuses/user_timeline/yourusername.json?include_rts=true&callback=twitterCallback2&count=5" type="text/javascript"></script></div>

Change highlighted text in red to your own username.  Change highlighted text in yellow to the number of tweets you want to allow to rotate.

Step 3


Enjoy!

Comments

  1. i have Done Your Coding Step By Step But Tweets Is Not Rotating
    Can You Plz. help me for that...

    thanks
    pankaj

    ReplyDelete
  2. What is the address of your blog site? If you're using any other javascript like featured sliders, the rotating twitter widget won't work.

    ReplyDelete

Post a Comment

Popular posts from this blog

Symbolism

Philippine Flag Symbolism Let's be honest now.  How many of you did not know behind the symbols of our national flag?  Just so you know, it is a fact that everybody lies.  Anyway, probably you are wondering why I am posting in such a nationalistic tone when independence day was almost three months behind?  Well, that makes us both.  A thought just struck me when I saw the commercial segment of Juan Time in discovery channel.

Parley

I'm pretty sure you've read James Soriano's infamous article " Language, Learning, Identity, Privilege " which garnered him mostly criticism from people who live in front of their keyboards netizens.  I know some of you are probably making or joining hate pages on Facebook, seriously, grow up. I have edited this post for the nth time because there are still thoughts and ideas that need to sink in.  Also, I made a decision not to post or react when I am angry or pissed.  Sure, I was pissed when I first read the article.  Who wouldn't be?  But I just officially turned 28 and I need to act, you know - civilized.  You've got filter the facts and try to address the issue on how personally you can change for the better as a person.  I only found two response articles via Twitter:  " Editing James Soriano " and " Coming Home to the Filipino Language ".  If you have any article or known any worth-reading article you can message me here or ...

Sunscreen

Wear Sunscreen or the Sunscreen Speech are the common names of an essay actually called "Advice, like youth, probably just wasted on the young" written by Mary Schmich and published in the Chicago Tribune as a column in 1997. The most popular and well-known form of the essay is the successful music single released in 1999, credited to Baz Luhrmann. Mary Schmich's "Advice, like youth, probably just wasted on the young" was published in the Chicago Tribune as a column on June 1, 1997. In her introduction to the column, she described it as the commencement address she would give if she were asked to give one. For more information visit: http://en.wikipedia.org/wiki/Wear_Sunscreen Wear Sunscreen.