I'm going to collect tweets about an event that has been happened 3 years ago, but I read somewhere that Twitter only let its API users to collect tweets not older than a week. So, I'd like to ask if this is true, how can I collect tweets from 3 or more years ago?
Collecting old tweets through Tweeter API
507 Views Asked by amiref At
2
There are 2 best solutions below
0
Jonas
On
Your only option is to pay for a service such as Gnip. Gnip provides an API that will let you search for tweets older than one week.
Related Questions in TWITTER
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Customizing tweet view using Fabric SDK
- Get email address from Twitter
- Click tweet button after changing data-text
- MongoDB string index that is not text?
- how can I access user details through "oauth_token" from twitter api in ionic framework
- Vine API - User Data based on Anchor
- Twitter/Facebook in-app browser on Android not displaying my site correctly
- how to get stats for twitter ad campaign
- twitter response: "error 32: Could not authenticate you" from Heroku, but not desktop
- Twitter share android titanium with social.js file not working
- Ruby, update twitter avatar and background
- Insights for Twitter service in IBM Bluemix: Search case-sensitive string and other questions
- twitter json formatting in php
Related Questions in TWEEPY
- Tweepy location on Twitter API filter always throws 406 error
- Terminate python based on printed output
- Limit tweepy stream to a specific number
- Is twitter streaming api exactly 1 percent of the whole streaming?
- Twitter API: How to parse URL's out of the text of the tweet using the given list of API's
- How to separate text from twitter streaming JSON responses and run analysis on text with python?
- Python - Tweepy Module - pip.req
- Using Python, Tweepy, Insert Cursor and Arcpy
- Python + Twitter streaming feed: how do I scan multiple feeds at the same time
- How to get large list of followers Tweepy
- Using tweepy: how to retrieve all tweets within past 5 minutes
- Can I get the data of those whom I am not following on twitter?
- What is the difference between on_data and on_status in the tweepy library?
- <IPython.core.display.HTML object> instead of graph
- Trouble opening up a twitter text file in python
Related Questions in TWITTER-STREAMING-API
- Getting original tweet-id and user-id from retweet-id
- Terminate python based on printed output
- Limit tweepy stream to a specific number
- Add Custom Parameters with Twitter's Streaming API
- Twitter Stream API - Should hashtag include #?
- Twitter API: How to parse URL's out of the text of the tweet using the given list of API's
- How to separate text from twitter streaming JSON responses and run analysis on text with python?
- Retrieve twitter old tweet using R
- Filter Twitter feeds only by language
- How to OAuth and use the Filter Query twitter4j Android
- Twitter API call not working
- Proxy twitter stream via socket.io
- Twitter api (Twitter4j). How to get US tweets?
- Twitter Streaming API connection times out after 3 hours
- Restart Laravel artisan command
Related Questions in TWYTHON
- Twython 403 error: Missing required parameter: Status
- Faster twitter ID stream
- Does Twitter have a limit on posts from applications?
- ImportError: No module named 'Twython'
- Get string from a tweet mentioning a specific user with Twython
- Twython 403 forbidden error
- How to post image to twitter with Twython?
- Twython : cursor on statuses/get_user_timeline returns my tweets instead of screen_name passed
- How to base64 encode a picture for twitter in python?
- Using Twython to 'favorite' a tweet
- Twython oauth1 authentication SSL3 error
- Possible to tweet using appkey/secret key from a different account via twython?
- Twython get followers count
- How to avoid rate-limiting 429 error in Twython
- Getting all mentions of a @user twitter api
Related Questions in PYTHON-TWITTER
- Getting tweets in twitter-python using using place id
- Getting a user twitter timeline in python
- Python Twitter API TwitterError: user_id must be type int
- Collecting old tweets through Tweeter API
- tweepy.Cursor returns unrelated search results to the query I selected
- How to resolve ModuleNotFoundError: No module named 'twitter'
- Searching and extracting top retweets using tweepy
- Can't authenticate Twitter credentials using python-twitter module
- I am working on twitter API and getting error: TwitterError: [{u'message': u'Invalid or expired token.', u'code': 89}]
- Python-Twitter API's function, GetSearch, returns fewer results for a wider radius
- python twitter filter hometimeline
- How to set User-Agent in python-twitter?
- Django/Python - ImportError: Could not import settings 'twitter.settings' (Is it on sys.path?): No module named settings
- List Class in Python-Twitter
- really simple pip python-twitter issue; can't import twitter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Get tweets using:
.
Store oldest_id as previous_oldest_id
Repeat 1-6 while checking that oldest_id is not equal to previous_oldest_id before continuing the loop
You can only make 100 get request to twitter per hour. You need to count your Get() calls and have the program sleep for an hour when you've hit that limit. I don't know if their API has a limitation on how far back it can go. You may be able to save API calls if you can find the ID of the tweet that would be at the start of your cutoff date and seed this process from there.