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

New Post: [ADMIN] What do you want in Tweetinvi 0.9.5.0?

$
0
0
Automatically queuing actions and performing them as the ratelimit permits is awesome - it's critical to the app I'm doing right now.

You are lucky as the RateLimitHandler is the main feature of Tweetinvi 0.9.5.0.

How would one manage simulatanous streams? I have a user stream I want to listen to at the same time as a filter stream, but the filter stream does not kick off if the user stream is initiated.

I think your problem comes from the fact that you are starting 2 streams in the same thread. Simply use the Async method and everything should work as you expect.
// UserStreamvar us = Stream.CreateUserStream();
us.StartStreamAsync();

// FilteredStreamvar fs = Stream.CreateFilteredStream();
fs.StartStreamMatchingAllConditionsAsync();
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>