var twitter = FluentTwitter.CreateRequest()
.AuthenticateAs(TWITTER_USERNAME, TWITTER_PASSWORD)
.Configuration.TimeoutAfter(1.Minute())
.Configuration.UseAutomaticRetries(RetryOn.ConnectionClosed, 2)
.Stream().FromFilter()
.For(10.Seconds()).Take(100)
.Tracking("Twitter") // Add other filter options here...
.CallbackTo((sender, result) =>
{
var statuses = result.AsStatuses();
foreach (var status in statuses)
{
Console.WriteLine("{0}: {1}", status.User.ScreenName,
status.Text);
}
});
twitter.RequestAsync();
To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.