ITweetSearchParameters.MaxmimumNumberOfResults ignored

Apr 28, 2015 at 4:58 PM
Hi Linvi,
ITweetSearchParameters.MaxmimumNumberOfResults appears to be ignored.
My assumption is that this is for the count property on the API (please correct me if i'm wrong).

My code looks like:
ITweetSearchParameters searchParameters = search.GetSearchParameters();
searchParameters.MaximumNumberOfResults = Program.FETCH_NUM_SEARCH_TWEETS;
IEnumerable<ITweet> tweets = Search.SearchTweets(search.GetSearchParameters());
where Program.FETCH_NUM_SEARCH_TWEETS is 100.

So it should always be 100, but I always get 15 messages in response (which is the default for count).

The search is just for "#myFirstTweet" with SearchType set to Recent.
Cheers,
Josh
Apr 28, 2015 at 5:00 PM
Haha, please delete this.
I've been missing this for the past 10 minutes, but I've not used the searchParameters variable but called the method to build the ITweetSearchParameters again.
Sorry!
Cheers,
Josh
Marked as answer by linvi on 4/28/2015 at 9:10 AM
Coordinator
Apr 28, 2015 at 5:10 PM
It happens ;)