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

New Post: Mixed ANDs and ORs

$
0
0
Hi linvi,

unfortunately this will not solve my question because of this DoestTheTweetMatchAllConditions

I don't want the tweet to have "word1 and word2" and also "word3 and word4" at the same time

so please can you translate this to English "may be I miss something"
var fs = Stream.CreateFilteredStream();
fs.AddTrack("word1 word2");
fs.AddTrack("word3 word4");
fs.AddTrack("word5");
fs.AddTrack("word6");
fs.MatchingTweetReceived += (sender, args) =>
{
    var matchingTrack = args.MatchingTracks.First();
    Console.WriteLine(args.Tweet.Text);
};
fs.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>