I am currently developing a java application that fetches the 5 most recent tweets from certain pre-especified profiles, but there are a few profiles wich I'm having trouble getting the tweets from. Searching them on the website works fine, but using the search query I am unable to retrieve them. I am currently using the twitter4J library. Below is an example of the code and the profiles that present the error:
Twitter twitter = new TwitterFactory().getInstance();
Query query = new Query("from:"+source);
query.setRpp(5);
QueryResult result = twitter.search(query);
System.out.println(twitterSource);
System.out.println("Count : " + result.getTweets().size()) ;
profiles that do not work (These profile return a count of 0 tweets):
CETSP_
carromesmo
Thanks in advance for the help
Daniel

Replies
The Search API is not the right API to use to get a specific user's tweets -- their user timeline is more appropriate. See this FAQ: