I would like to retrieve 100 most popular tweets for a particular querystring, below is my query:
but it always gives 15 results :(
- try {
- Query query = new Query().query(queryString);
- query.setResultType(Query.POPULAR);
- query.setCount(100); //I tried query.count(100) it doesn't work either
- QueryResult result = twitterSearch.search(query);
- for (Status status : result.getTweets()) {
- SearchResults.add(status);
- }
- println(SearchResults.size());
- }
- catch (TwitterException te) {
- print(te);
- }
1