FilterQuery qry = new FilterQuery(); String[] keywords = { tweeterHandle }; qry.track(keywords); twitterStream.addListener(statusListener); twitterStream.filter(qry);
which kind of query pass to filter so i can fetch particular users tweets.
This is Twitter4J right? Instead of qry.track, you want to set the follow parameter:
follow
qry.follow(123456l, 1234567l, 1234556789l);
where 123456l, 1234567l are user ids (or specify a long[] for follow method)