Posts Tagged Java
Java Demo – Twitter App
Posted by George Nixon in Projects on 21 April, 2010
Since I use this blog to show off some of the things I’ve been working on at well as post useful tidbits occasionally, I got permission to put one of my recent pieces of coursework on here.
We were asked to create a desktop Twitter application in Java. It’s not fully featured due to time constraints, so I wouldn’t recommend using it in place of your usual Digsby or Tweetdeck clients, but it lets me demonstrate my coding style etc and maybe it’ll be useful to anyone planning a similar project. If you are, I recommend the Twitter4J library, which does a lot of the heavy lifting for you.
I’ve uploaded it in both source and distribution (just unzip and run the .jar – requires JRE) versions, as well as the report I prepared highlighting some of the features I was proud to have completed.
Update 28/4/10: Not to blow my own trumpet too much here, but I’m proud to say that I got my marks for this coursework back today, and I was astonished to find I’d been awarded 100%! Out of 60 or so other students, the next best grades were 92% and 90%. FYI, I’m still hunting for a 12-month work placement to do as a sandwich year, if any prospective employers are reading! Draig Technologies will now be benefiting from my immense talents
Update 24/6/10: Twitter say they won’t be supporting basic login requests from the end of the month, and as far as I can remember, this is how my application works. Enabling OAuth would be a quick and easy fix if you do use this code, but I’m not personally supporting the app in any shape or form. It’s provided As Is!


