LIVE Twitter AJAX Script

Everyone is addicted to Twitter, staying away from twitter makes us feel so helpless and alone. I use Twitter on my iPhone, when on the move, and TwitterDeck when at home or Office.

But what if I don’t have access to any of those and just web. I don’t like Twitter’s Web interface coz it’s not Realtime. There may be few websites that let you do that, but I thought of making one for my own to make it accessible, anywhere and the best part, it can be integrated to a Blog, website or a portal without a glitch.

You can get the Glimpse of the Application here -> Twitter Live (searches “Chrome” every 3 seconds) and Twitter Live (without query string, Searches “Taranfx” every 10 seconds)



It wasn’t written from scratch but rather inspired from an existing one. Basically, this JQuery based AJAX script Queries Twitter JSON Search API using http://search.twitter.com/search.json?q=

The JSON response is parsed for message text, profile images, profile IDs, links, and formatted, animated using JQuery to get an attractive UI. To add to it, The demo you saw above takes GET query strings from user Possible combinations are:

1. q = Your search terms (use HTML format for special characters). Defaults to 'taranfx'
2. interval = Refresh Interval in milliseconds e.g. 3000 for 3 seconds. Defaults to 10 seconds
3. max = Maximum items that collect on screen till they are removed. Defaults to 30

As far as the source code is concerned, you can head over to demo and “view source” over there. You can bookmark that page for your quick usage, it’s going to stay there forever.

Related: Google Chrome 4 Extensions: How To Create – Twitter Client [Download] [Tutorial]

Time and again, I create new stuff, don’t forget to subscribe below.

GD Star Rating
loading...
GD Star Rating
loading...

2 thoughts on “LIVE Twitter AJAX Script”

  1. As far as the source code is concerned, you can
    head over to demo
    and “view source” over there. You can bookmark that page for your quick usage, it’s going to stay there forever.
    HAHA on the “its going to stay there forever” bit, good one.

    GD Star Rating
    loading...
    GD Star Rating
    loading...
    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.