SearchTweets methods are ignoring maxResults parameter.
Opened this issue · 1 comments
OrkanCom commented
Describe the bug
SearchTweets ( in RecentSearch service ) methods ignores maxResults parameter.
To Reproduce
List<RecentSearchResultsModel> result = _searchService.SearchTweets(query, 10, 5); return result;
Expected behavior
Should return 10 tweets by default. Or if given maxResults parameter is let's say 20, api should return 20 etc.
According to docs, default is 10, not 100;
"The max_results request parameter enables you to configure the number of Tweets returned per response. This defaults to 10 Tweets and has a maximum of 100. " -> https://developer.twitter.com/en/docs/twitter-api/tweets/search/integrate/paginate
Additional context
jamiemaguiredotnet commented
Thanks for the feedback. I will resolve this.