Clear custom tweets

I want all custom tweets. I could do this in a difficult way (manually clear twitter) or in a simple way: using their api. The problem with the simple (api) way is that I seem to be limited to the 200 most recent tweets. What is an easy way to get all the tweets? Thanks

+6
api twitter screen-scraping
source share
2 answers

Yes, you can get up to 3200 historical tweets by requesting the following:

Make a request:

http://api.twitter.com/1/statuses/user_timeline.format

And use the count 200 parameter and iterate through the page parameter from page 1 to 16 or until there are no more tweets.

This is the only thing you can do now, because Twitter specifically says that they prevent this in their API document ...

https://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therearepaginationlimits

I would add, please do not script, because it will cause excessive load on Twitter and massive requests, which are likely to cause your server to block access to Twitter.

+12
source share

You can make sure you get all future tweets by subscribing to the Twitter RSS feed on Google Reader. You can then use your infinite scroll function to look back at the first tracked twitter.

0
source share

All Articles