I'm looking to access Twitter's live stream for specific terms (let's say 'JFK' for example) so that whenever one of these defined words are mention in a tweet then it sends a message to Processing. I have downloaded the Twitter 4j library but i can't seem to get it to work. I would really appreciate a simple example of how to listen out for certain words through the Twitter stream API.
I tried using the Tweet Stream library but it didn't work for me - perhaps because the Twitter API is now using Oauth?
Any ideas/suggestions are much appreciated!
I am using Mac OS X Lion and the latest version of Processing (1.5.1).