Basiq
Basiq

Reputation: 1

how to search on twitter using Tweetinvi with specific keywords. like who is the winner of SA vs SLR match

I have search on this link "https://dev.twitter.com/rest/public/search" but it does not contains very good documentation

Upvotes: 0

Views: 2162

Answers (2)

saman
saman

Reputation: 11

var searchParameter = new SearchTweetsParameters("#Benz")
    {
        //GeoCode = new GeoCode(-122.398720, 37.781157, 1, DistanceMeasure.Miles),
        Lang = LanguageFilter.English,
        //SearchType = SearchResultType.Popular,
        //MaximumNumberOfResults = 100,
        Until = new DateTime(2018, 03, 07),
        //SinceId = 399616835892781056,
        //MaxId = 405001488843284480,
        Filters = TweetSearchFilters.Images
    };

 var tweets = Search.SearchTweets(searchParameter);

Upvotes: 0

Linvi
Linvi

Reputation: 2087

The Tweetinvi documentation regarding searches can be found at https://github.com/linvi/tweetinvi/wiki/Searches#tweet-searches.

As a simple example you can search with the following code :

var matchingTweets = Search.SearchTweets("tweetinvi");

Upvotes: 1

Related Questions