linvi / tweetinvi

Tweetinvi, an intuitive Twitter C# library for the REST and Stream API. It supports .NET, .NETCore, UAP (Xamarin)...
MIT License
1.01k stars 219 forks source link

I Think PageSize doesn't work #1094

Closed aysuays closed 3 years ago

aysuays commented 3 years ago

Hello, I use search api (Tweetinvi 5.0.3) with a trending hashtag, it returns 15 or 13 etc. tweet everytime. I want to use max objects so I declare Pagesize :

 SearchTweetsParameters searchTweetParameters = new SearchTweetsParameters(searchQuery)
            {
                SearchType = SearchResultType.Popular,
                PageSize=100
            };

            var all =await _userClient.Search.SearchTweetsAsync(searchTweetParameters);

I still get 15 tweets although PageSize is 100. Can someone help please? I think there might be bug.

aysuays commented 3 years ago

I realize when I choose popular results, I get 15 tweet, but except this I really get 100 tweets.