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
509 views Asked by amiref At
2
There are 2 answers
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
- issue with Twitter API :
- Unable to use snscrape
- Unable to like a tweet with using Tweepy and Twitter/X v2 API
- automatic commenting for users on the home page of Twitter
- I have a tweet (X) download that is all code. I'm not a coder and I just want to read the message. Can someone help me do that?
- Web scraping using Selenium (not working)
- Twitter oauth2 link seems correct but not working
- Is logging via selenium blocked by twitter?
- Login with twitter using identity server is not working when using openidconnect
- Apache flume does not run hadoop 3.1.0 Flume 1.11
- How to verify Twitter oauth2.0 access token
- Twitter embedded timeline is showing "Nothing to see here"
- Twitter parsing with Selenium python
- Error in login with twitter function on React Native app
- Nothing is happening after solving FunCaptcha
Related Questions in TWEEPY
- issue with Twitter API :
- get list of followers for my X account using tweepy
- Unable to like a tweet with using Tweepy and Twitter/X v2 API
- Is there a way to include a copied image in Python/Tweepy, I can't seem to do it using Pillow
- Get specific tweet data from twitter API
- 403 Forbidden 453 - You currently have access to a subset of Twitter API V2 endpoints and limited v1.1 endpoints even tho I bougth X Basic paid plan
- tweepy.errors.Forbidden: 403 Forbidden 453
- tweepy.errors.Forbidden: 403 Forbidden - Issue with Twitter API authentication
- Error with tweepy library: 401 Unauthorized
- How to do 3-legged authentication using tweepy for web app
- Why client.search_recent_tweets( ) couldn't get enough number of tweets?
- Python Twitter Bot to post images is not finding image
- Can I still retrieve tweets using the free developer tier in Python?
- Get Comments onto a specific Thread
- Using Tweepy to send a plot and message from my code in Twitter dms
Related Questions in TWITTER-STREAMING-API
- Bearer token is not working in tweepy v2 (4.14.0) StreamingClient
- Consume Twitter streaming API in android kotlin
- Twitter api stream api rules: listen to a stream by a mention of two accounts where one is a constant and the other account can be any account
- Twitter Unsupported Authentication Problem - Tweetinvi Streams V2 - Asp.net Core MVC
- Running multiple streams using node.js with twitter-api-v2
- Twitter filtered stream operational disconnects
- Twitter V2 Api filtered Stream Endpoint
- Twitter API with Structured Spark Streaming
- Twitter v2 api Stream Stop responding after some days
- Twitter streaming data using apache flume getting error
- Twitter v1 stream API returns wrong mentions
- Only display tweets from a single user using Twitter Streaming API
- Twitter Streaming API: only show tweets directed at a user and tweets from a user
- How to call filtered twitter STREAM API in android?
- Request status update Twitter stream data
Related Questions in TWYTHON
- How to add multiple images to a tweet in python?
- Twitter API returned a 401 (Unauthorized), Could not authenticate you
- 401 Unauthorized Error Twitter Bot in Python
- Stop Twitter streaming by timer with twython
- Twython returns less retweets than retweets shown on tweet
- How can I download tweets of two users in the same time?
- How can I get/access the 'name' attribute from the user data dictionary in twitter in python?
- How can I set a limit to the tweets I want to download?
- Twitter developer API access multiple accounts
- How to "like" Direct Messages using the Twython Python library?
- Receiving 401 error in Twython when trying to get tweets
- Using twython to log all screen_names of users who posted about a certain keyword on a certain date
- How to get more than 100 tweets using twython python
- How to save tweeter data in json file?
- How to get Twitter banner image using API?
Related Questions in PYTHON-TWITTER
- Twitter Streaming API: only show tweets directed at a user and tweets from a user
- Create URLs for different data frames
- Apply the code for smaller batches in the data set sequentially
- How to create a loop for changing data frame names
- Request status update Twitter stream data
- Extract image from video in Python using ffmpeg and subprocess
- "[Errno 2] No such file or directory: [filename] " while trying to configure twarc2 library for fetching twitter data using Twitter api v2
- How to wait for an external event using an API instead of sending test requests every delta t?
- I have a problem with os module in python
- next_token searchtweets API Twitter
- Can't authenticate Twitter credentials using python-twitter module
- How to resolve ModuleNotFoundError: No module named 'twitter'
- tweepy.Cursor returns unrelated search results to the query I selected
- How to get 3200 tweets from a new Twitter's API and what is GetOldTweets3 alternative?
- python-twitter error with api.PostDirectMessage
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?
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)
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.