Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: ITweetSearchParameters.MaxmimumNumberOfResults ignored

$
0
0
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

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>