Perhaps the 10.Seconds() and Take(100) functions are limiting your output?
It seems that this framework is perhaps not streaming, but assuming a finite
response size? I'd ask on the TweetSharp dev list.

-John Kalucki
http://twitter.com/jkalucki
Infrastructure, Twitter Inc.


On Sat, Mar 20, 2010 at 3:01 AM, rizwan khann <hadiyatk...@gmail.com> wrote:

> 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.
>

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