I'm trying to retrieve a users tweets from the last 2 months. However, LINQ to Twitter limits the amount of tweets you can retrieve to 200. Is there a way to retrieve more?
The Twitter api allows paging, like:
http://api.twitter.com/1/statuses/user_timeline.json?id=username8&count=200&page=2
I couldn't find anything similair in the LINQ to Twitter library.
I tried the following, but it doesn't work:
var statusTweets = (from tweet in twitterCtx.Status
where tweet.Type == StatusType.User &&
tweet.Count == 200 &&
tweet.ScreenName == "username"
select tweet).Skip(200);
Ok, I feel a bit stupid now. Turns out there IS a paging parameter.
Solution
for (int i = 0; i < 5; i++)
{
var statusTweets = (from tweet in twitterCtx.Status
where tweet.Type == StatusType.User &&
tweet.Count == 200 &&
tweet.ScreenName == "username" &&
tweet.Page == i
select tweet)
}