My Own Twitter Client

Posted by Mike Haller on Sunday, May 17. 2009 at 22:01 in Java
Using twitter4j, it's pretty easy to hack together a new Twitter desktop client. What I wanted to do is to have search capabilities and have all the tweets in a local database, so I could have a look and work with the messages people write even when i'm offline (which never happens anyway, but just in case).

So, taking Eclipse RCP, munching it with twitter4j, adding a bit of Apache Derby and other stuff, I ended up with the following prototype in a couple of hours:



It has a virtual table, so it loads tweets on-demand from the local database when you scroll down. It only reloads the latest 20 tweets from Twitter.com in online mode. There is an offline-mode to decrease the amount of network bandwidth and service utilization. Twitter is already pretty slow. The client caches all the profile images for faster loading. It displays the time of the tweet and highlights URLs. I had a feature in it which resolves shortened URLs and displays the real ones on hover, but i disabled it as I've got problems displaying a nice hover. Hover's in Eclipse RCP/SWT/JFace just don't look very nice, compared to all the new Web 2.0 or Mac designs found in modern apps today.

What other features could be put into yet-another-twitter-client? Tag clouds? URL clouds? Charts? Google Maps? Automatic translations like Babelfish?

Kai Grabfelder
looks nice! What about an eclipse plugin that shows the input field in the lower right? This way one could twitter without leaving the ide
M. Mortazavi
Very cool application. I wrote about it here: http://weblogs.java.net/blog/mortazavi/archive/2009/05/java_twitter_cl.html

You should also try this on CDC.

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications
 
Submitted comments will be subject to moderation before being displayed.
 

About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch