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

New Post: Stream filter by URL Pattern

$
0
0
Hi, i am using Tweetinvi for a project where I have to track the stream of tweets that cointains an URL pattern like:

project.com/Promo?key=34FSJDJS (key is what changes from one tweet to another)

I was trying this way:
stream = Stream.CreateFilteredStream();
stream.AddTrack("project.com/Promo")
stream.MatchingTweetReceived += (sender, args) => { ProccessTweet(args.Tweet); };
stream.StartStreamMatchingAllConditions();
but it does not work correctly.

Does someone know how to do it?

Thanks

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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