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 ...

Kenshin

Rurouni Kenshing Film Official Poster Here is one update that will blow away Rurouni Kenshin fans - a trailer of the live action movie set to be release on August 25, 2012. That is just 2 days away from my birthday, that it is.  Also, visit the official Rurouni Kenshin site here .  So what do you think of the trailer?  Promising, eh?  Sano's Zanbato though is rather small compared to its anime counterpart. Image Source:   natalie R urouni Kenshin is the best anime ever, hands down.  Sorry Bleach and Naruto fan boys and girls but nothing beats the story line and the historic background of RK.  This is the only anime that I am obsessed with and I think so too with others within my generation.  I would want to collect all the OVAs and the Anime series and someday I will pass down to my kids!  Ha! Rurouni Kenshin  Listening to the opening of Sobakasu is nostalgic.  I feel like I'm not twenty-um-something.  I st...