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

New Post: Streaming API

$
0
0
Hi,

Thank you Linvi, after a bit of play, that worked. It seams if I add a AddFollow after an AddTrack, both arguments are completely ignored, but if i have just an AddFollow, or just an AddTrack, it works. This isn't an issue for me right now, but wondered if that was meant to happen?

Well you need to understand how the Twitter API work. When you add a track or add a follower, Twitter will send all the tweets that match either the track OR the follower.

Please read the following discussion to understand how Tweetinvi manages it https://tweetinvi.codeplex.com/discussions/539444.

Tweetinvi provide you information about which keyword have been matched.
stream.MatchingTweetReceived += (sender, args) =>
{
    var matchingTracks = args.MatchingTracks;
};
Please note:
// Get either Hello or Plop
AddTrack("Hello");
AddTrack("Plop");

// Get both Hello and plop
AddTrack("Hello Plop");
I have never received a Tweet that was not matching the tracks so please be careful when analyzing what you receive.
Let me know if you find anything.
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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