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

New Post: Get all tweets of a particular #tag

$
0
0
I am using below code to stream tweets for certain hashtags.. the tweets don't have the twitter handle of the poster..

var filteredStream = Stream.CreateFilteredStream();
        // add tracks 
        string [] split = tweetstostream.Split(',');
        foreach(string item in split)
        {

            filteredStream.AddTrack(item);

        }
        MongoDB db = new MongoDB();
        //filteredStream.AddFollow()
        filteredStream.MatchingTweetReceived += (sender, ts_args) => { db.MongoInsert(ts_args.Tweet.Text); };
        filteredStream.StartStreamMatchingAllConditions();

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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