2

I'm new to Python and Twython, but I'm working on a project where I want to use Twython to analyze all of Miley Cyrus' tweets. Currently there are 7,193, but Twython will only let me take 200 at a time...how can I scrape all of them? Is there there a way to scrape all of them using Twython or do I have to manually scrape the Twitter website? Ideally I would preserve access to all of the tweets' metadata so I could use it in my analysis (rather than just the text of all of the tweets). Suggestions for code?

user2864740
  • 60,010
  • 15
  • 145
  • 220

1 Answers1

4

If you read the documentation, you will see that:

This method can only return up to 3,200 of a user's most recent Tweets.

So there is no way the API can be used to programatically return all historic Tweets. And, yes, you are limited to requesting 200 at a time.

Terence Eden
  • 14,034
  • 3
  • 48
  • 89