I need to use Python to download tweets (probably in the order of the tens of thousands) from past periods. Should I use the streaming API? Do you have any reference to suggest? Thanks
Asked
Active
Viewed 84 times
2 Answers
1
Streaming API do not deal with past periods, you should use search/tweets. Be aware of fact that it returns up to 3200 tweets. Also, from the docs
Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface.
For the reference, list libraries to deal with API can be found there.

alko
- 46,136
- 12
- 94
- 102
-
thanks for the clarification! Do you know what's the way to overcome the 3200 tweets limitation? – albus_c Oct 27 '13 at 15:35
-
not with twitter api. something can be done with topsy http://news.cnet.com/8301-1023_3-57601209-93/topsy-indexes-entire-tweet-history-for-search-analysis/, but they are paid service http://api.topsy.com/doc/pricing/ – alko Oct 27 '13 at 16:59
0
Like they said, you cannot retrieve past tweets from their streaming API. You can try to look for free datasets like these ones (but it is quite difficult that the dataset that you find fits your needs):
http://www.infochimps.com/datasets/twitter-census-developer-tools-mapping-from-twitter-user-search-

Lola Priego
- 39
- 3