Only the 3200 most recent ones, unless you know the IDs of the tweets.
Tom
On 9/30/10 5:09 PM, linuslive wrote:
Good morning all!
Before the OAuth change, I wrote a twitter archiver that would grab my
tweets and dump them into a database. Back then I only had about 1K
tweets so I was able to grab all my tweets without hitting the limit.
And of course since then, I don't post more than 20 tweets a day.
But today, I was curious to see if I could use the new OAuth to
retrieve my timeline, starting from my first tweet. I can't seem to
get it.
Here are my parameters:
http://api.twitter.com/1/statuses/user_timeline.json?screen_name=linuslivesince_id=1trim_user=1count=200
When I do this, it only gives me the top 200 tweets. It doesn't start
from the beginning and give me my 200 oldest tweets, as I would
expect.
I've tried various since_id's, even retrieving my first tweet:
http://twitter.com/linuslive/statuses/872090728
Which equals
http://api.twitter.com/1/statuses/user_timeline.json?screen_name=linuslivesince_id=872090728trim_user=1count=200
And I get the same response.
According to twitter, I have 3682 tweets, just over the 3200 limit
according to http://dev.twitter.com/doc/get/statuses/user_timeline.
The confusing thing is that the documentation does not make it clear
that it's 3200 of the most recent tweets, or just 3200 per session.
Could I get a clarification on this?
Thanks!
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk