I have a function that does the following:
List<Status> list = new ArrayList<Status>();
Twitter twitter = new Twitter();
int num = 300;
ICallback call = new ICallback() {
public boolean process(List<Status> statuses) {
return false;
}
};
list = twitter.search(hashTag, call, num);
I'm trying to retrieve 300 results, but instead I get 100. The return value of the ICallback
makes no difference.
What could be the problem?
I looked at the source and it looks like the there is a maxResults field that defaults to 100 that restricts the number of results. Just try setting it to 300 or more for your scenario.
Try