This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pre-requisites: Python and tweepy. You will also need to register a Twitter app here: https://apps.twitter.com/ | |
# To use: replace XXXXXX with the appropriate info and run the script. | |
# Tip: To find the ID of a retweet, view the page source in your browser and look for data-retweet-id. | |
import tweepy | |
# auth and api | |
consumer_key = 'XXXXXX' | |
consumer_secret = 'XXXXXX' | |
access_token = 'XXXXXX' |