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

New Post: Web application help

$
0
0
Unfortunately, I will not be able to share the code with you as the project has been done for a client.
But this is a simple matter of storing the number of Tweets somewhere (file/database) and displaying it.

The basic following code should work for you:
var fs = Stream.CreateFilteredStream();
fs.AddTrack("Manchester");
fs.MatchingTweetReceived += (sender, args) =>
{
    Console.WriteLine("Tweet with manchester has been found +1 the database!");
};
fs.StartStreamMatchingAnyCondition();
Obviously you will have to change the Console.WriteLine into the code to change the value in the database/file.

If you need any more help.
Please let me know.

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>