Skip to content

Instantly share code, notes, and snippets.

View partriv's full-sized avatar

Par partriv

View GitHub Profile
@partriv
partriv / get_ranked_followers.py
Created June 24, 2020 01:59
quick script to sort your follower list by who has the most follows
# get your developer keys here https://developer.twitter.com/
import twitter
api = twitter.Api(consumer_key=API_KEY,
consumer_secret=SECRET_KEY,
access_token_key=ACCESS_TOKEN,
access_token_secret=ACCESS_TOKEN_SECRET,
sleep_on_rate_limit=True)
count = -1