Getting latest tweets

edited November 2013 in Library Questions

I want to get the latest searched word from a list of words. I want this to be stored in the variable which will be queried. so

PossibleWords[] ={"sad","happy","joyful"}

i would then want a string variable searchString to hold the latest tweeted tweet containing the word from the array. For example, if sad is tweeted just now, i want to get that tweet. So I need to test if any of the words from the array is in the latest tweeted words.

How would I program? This in processing using twitter4j 3

Sign In or Register to comment.