When i'm using tweetinvi 0.8.3.23 this line still work.
There is no change to the version 0.8.3.23 and no design changes will be performed to the 0.8.x versions.
What is declaration of filteredStream on 0.9??
Regards,
Linvi
There is no change to the version 0.8.3.23 and no design changes will be performed to the 0.8.x versions.
What is declaration of filteredStream on 0.9??
var filteredStream = Stream.CreateFilteredStream();
You can then use the object like before but to simplify the development, the new tweets received will be sent through an event.// Add a Track
stream.AddTrack("tweetinvi");
// Event to be raised when a tweet is received
stream.MatchingTweetReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
stream.MatchingTweetAndLocationReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
// Start a stream matching either the track, location or follower conditions
stream.StartStreamMatchingAnyCondition();
// Start the stream matching both the track, location and follower conditions
stream.StartStreamMatchingAllConditions();
Hope this answers your question.Regards,
Linvi