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

New Post: Filtered Stream Hangs

$
0
0
My application is hanging when I try to use the filteredStream.

Here is my code:
        //ValueThatLtd tests
        TwitterCredentials.SetCredentials("my various keys",,,);

        // Access the filtered stream
        var filteredStream = Stream.CreateFilteredStream();
        filteredStream.AddTrack("justtesting");
        filteredStream.MatchingTweetReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
        filteredStream.StartStreamMatchingAllConditions();

And then it hangs. I am using version 0.9.3.4 of Tweetinvi within MVC project (from template) in Visual Studio 2013. I call the above code from a controller.

Any suggestions as to what might be wrong?

Best regards

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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