TwitGraph is an experimental ("early beta") application I wrote over two sleepless nights to follow trends of the product I work on in my day job.
The idea is simple: enter a search term/query for twitter and get back a graph of how many times it's been used every day. You may look at, say the past 7 days or look over last June. A search term may simply be "youtube annotations" or it may use #hashtags such as "#youtube annotations", may have references to users, for example "from:rantav" or "to:rantav"
Development is (slowly) in progress and there are lots of improvements I plan to add (see my TODO down there) but the basic functionality is already here and is quite impressive for the minial work put into it, so that's a very high thumbs up for Twitter for a very nice and easy to use API
My name is Ran and you're welcome to drop me a line at @rantav, send feedback or feature requests
- Done - Better classification for Happy/Sad tweets. I currently use the twitter search operators :) and :( but I'm not happy with their results and I'd like to improve that. I've started a little research (see question on stackoverflow here) but have not had the sleepless night to implement a classifier yet.
- Improve performance for high frequency terms. When using twitgraph with a search term that's not so common, say "youtube annotations" you get results in after a few seconds. But when using a term more frequently used, say "youtube", the search results take loooooooong time to get back. The reason for that is a limitation in the twitter search API which caps the number of results per query at 100. So what I do it iterate over the first 100, then the next 100 to 200, then 200 to 300 etc until I get all results and then I graph them. The trouble is that when there are thousands of results, that may take many roundtrips and the application looks stuck. I've sent a query over at twitter and I'm still waiting for suggestions how to improve that...
- Design. It's ugly, I know... I can write HTML but writing a HTML that actually looks great is a whole different story... I'd be happy to get some help from a website designer :-)
- Mostly done - Add a speedometer for positive-vs-negative. Either a speedometer of a pie-chart will do, but speedomenter is way-cooler! - Added a pie. Would like to add a speedometer as well
- Add more control, and perhaps user choice for feelings, such as happy, sad, love, content, hate etc. Maybe do that by bucketing and getting more and more thesaurus from a thesaurus API (there must be one one there...)
- Done: Improve embedding: Don't use that ugly iframe. Use a <div> and a script like all normal web-2-owish sites do. It's past 90's already man!
- Allow sorting results by face (read: username)
- how about a filter to show only good, bad, or neutral tweets? also a slider ui for the time window might be cool