Michel
Michel

Reputation: 23615

How can I get more than 20 status's from the LinqToTwitter status?

I'm using this code to read status items from Twitter via LinqToTwitter.

IQueryable<Status> tweets = 
    twitterCtx.Status.Where(z => z.ScreenName == "HTM_Reisinfo" && z.Type == StatusType.User).Take(100);

But whatever number I pass to Take(), I only get 20.

Can I get more than 20?

Upvotes: 0

Views: 991

Answers (1)

Joe Mayo
Joe Mayo

Reputation: 7513

The Twitter API does status paging through cursors, which LINQ to Twitter does support. Here's a related post with more explanation:

Return all tweets from my timeline

Upvotes: 1

Related Questions