We are running into an issue with a small percentage of our users. We iterate through a users tweets, making a call to user_timeline
, count=200
and max_id
of the previous iterations last post id. Most of the time it works great up to 3200, but there are some cases where Twitter stops responding with the full 200 or any tweets at all.
Here's one case, we have a user with 680 tweets, so we iterate through his timeline 4 times, count=200
each time.
- First iteration we get 200 tweets
- Second iteration we get 199 tweets
- Third iteration we get 100 tweets
- Fourth iteration we get 0
The last tweet from the third iteration has a date of 16 Oct 2012
, but I can manually (in a browser) find older tweets, e.g. 31 Jul 2011
.
Is there some issue we're unaware of? 3200 max tweets but only up to a certain date?