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

New Post: stream filter track matching

$
0
0
Hi there,

So I am currently looking into this issue. But I have different questions.

Post 1

If I track #tweetinvi I personally only receive the tweets containing the hashtag. I do not receive either '@tweetinvi', 'tweetinvi.com' or a tweet containing the 'tweetinvi' keyword. Is it a behavior that you are able to reproduce?

Post 2

I think this should be the responsibility of the user.
Though I consider that the fact that you did not receive a matching track is an issue that should be fixed. The library should check the url and return the track if found in it. I am just a bit worried on the impact on performances but I will definitely have a look into this.

Post 3

I could potentially add a filter but I think there already are quite a few filters and it is very easy to filter retweets for developers.
fs.MatchingTweetReceived += (sender, args) =>
{
    if (args.Tweet.IsRetweet)
         return;
    // do your code logic if it is not a retweet
};
For quoted tweets though, I might consider adding the option. The reason is that a quoted tweet does not have any text matching the track. Though Twitter is still returning it. What do you think about this case?

To conclude

I know there is not a lot of solution in this response, but please take some time to reply so that I can have your point of view and take the best decision if the library needs to be updated.

Regards,
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>