Tuesday, April 14, 2009

Chill yourself and use tweetactive API

tweetactive.com deals with activeness of people and keyword on twitter. Now tweetactive is exposing few APIs which might help you to build some cool badges which you can be hosted on your blog( or at different random places).

1.ProfileImage

This is simple REST API to get your twitter profile image. (
http://www.tweetactive.com/profileimage?q=yourtwitterid
you can directly display image like
    <img src=”http://www.tweetactive.com/profileimage?q=yourtwitterid”/>

2.getfancybadge
This is to show your tweetactiveindex. tweetactive index is dynamic time decaying value, which shows that how active you are on twitter.
TweetActiveIndex of yours will decay with time if you don't tweet. In one word: more the tweetactive index more you have tweeted in recently. The decay rate also depends on how much you have tweeted.
http://www.tweetactive.com/getfancybadge?id=yourtwitterid
    Note: this uses query string id.

image 3.GetActivity
what ever you see on twitter badge can be retrieved in JSON format using this API.
http://www.tweetactive.com/getactivity?q=markandey&callback=hello

4.twittercompare

 

image TwitterCompare is a REST CHART API, which shows you the real time motion chart to track the activeness of a keyword.
    simplest form is
http://www.tweetactive.com/twittercompare?q=keyword1,keyword2
you can resize the chart like
http://www.tweetactive.com/twittercompare?q=keyword1,keyword2&w=300&h=200
you can change the method for comparing
http://www.tweetactive.com/twittercompare?q=keyword1,keyword2&w=300&h=200&m=getkeywordactivity [default]
http://www.tweetactive.com/twittercompare?q=keyword1,keyword2&w=300&h=200&m=gettwitterlove
    gettwitterlove makes intelligent calculation and gets a value which will be corrected by the way people tweet. like iPhone might me popular keyword but popularity does not lies in using that keyword but when people praise the iPhone and not when they criticize it.
5.rtkey

image
http://www.tweetactive.com/rtkey?q=yourquery
View this page when you are lazy.
This is a real-time tracking portal where you can get real-time updates of any keyword on twitter. You need not to refresh the UI. refreshing is automatically done.
this page also displays the trending list at the top.
UI is deliberately made black to give your eyes some rest, while you lazily tracking some event.

Watch a demo on YouTube video http://www.youtube.com/watch?v=VxAPV9e98x4

No comments:

Post a Comment