Hi
 i run this code but it just  give me 100 status whose
track "twitter" word
but it not work as a stream...and not continue update for real time.
plz tell me which method use to continue stream
i m using TweetSharp Preview 24 API



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.

Reply via email to