This project has moved. For the latest updates, please go here.

Can I retive tweets from my timeline for a specific day?

May 22, 2013 at 12:21 AM
Using L2T is it possible to get the tweets from my timeline for a specific day? Say i missed seeing what was happening on May 17 - can go i back and pull those tweets for May 17th?
May 22, 2013 at 1:09 AM

You can page through results until you get back to the time zone you want. I wrote a blog post, Working with Timelines with LINQ to Twitter, to describe how. As you page through results, inspect the CreatedAt property on tweets to see their date.

If this is something you do regularly, it might be helpful to have a table of Dates and a Tweet ID on that date, to set a starting point for the SinceID, which will reduce the number of queries you need and preserve rate limit. Just an idea though - you might think of other optimization strategies based on your usage patterns.