Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I thought this was a method with which I could use to list all the tweets from a Twitter user:

curl -s --user-agent 'Mozilla' --insecure 'https://twitter.com/statuses/user_timeline/vodafone_au.xml?count=50000'

But it seems that if the Twitter user exceeds 200 tweets then it doesn't work.

Does anyone have any idea how to download all the tweets from a specific Twitter user?

share|improve this question

migrated from unix.stackexchange.com Mar 22 '11 at 14:20

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems..

add comment

4 Answers

This command will get the last 3200 tweets, which is the maximum twitter let's you access.

Basically, it downloads 32 pages containing each 100 tweets.

curl -s --user-agent 'Mozilla' --insecure 'https://twitter.com/statuses/user_timeline/vodafone_au.xml?count=100&page=[1-32]'
share|improve this answer
1  
where will the 32 pages saved? –  user17574 Feb 23 '12 at 1:38
2  
As I mentioned here (webapps.stackexchange.com/questions/34066/…) this user_timeline xml disappeared. Anyone knows if there is a new address or new direct method of downloading somebody's tweets without API from the command line? I asked this question here (askubuntu.com/questions/210415/…;. –  Strapakowsky Nov 3 '12 at 5:40
add comment

As per the Twitter API docs, the API is limited to 200 tweets per request.

This thread on the twitter-development-talk mailing list suggests setting next_cursor_str.

There's also options called max_id and page that might help.

share|improve this answer
add comment

You must check this link http://www.readwriteweb.com/archives/10_ways_to_archive_your_tweets.php

it has a lot of apps which will help you to archive only your own tweets!!

share|improve this answer
add comment

Just published (16-12-2012): tweets down loadable from Twitter

See following link: Twitter has started rolling out the option to download all your tweets

share|improve this answer
2  
Yes, but that's only for your tweets. The OP is asking for how to download all the tweets for an arbitrary user. –  Al E. Dec 17 '12 at 13:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.