I was searching for an easy way to extract the replies of a certain tweet. After no success searching open-source code I decided to try this, and it works!
You will want to have a Twitter Developer account and you will need to add your keys within the code.
Navigate to where you downloaded your code, assuring you have Tweepy installed within the same environment.
Run
python3 twitter_reply.py
The replies will be in a .csv file within the same directory.
- Twitter has updated their API in which you will need an elevated API access, I am working on a workaround. *
Except as represented in this agreement, all work product by Developer is provided “AS IS”. Other than as provided in this agreement, Developer makes no other warranties, express or implied, and hereby disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose.