Skip to content

Instantly share code, notes, and snippets.

@shackenberg
shackenberg / autofollowertolist.py
Created July 9, 2012 08:57
This script automatically adds all followers of a twitter user to an existing list. It checks every hour for new followers.
from time import gmtime, strftime, sleep
from twython import Twython
app_key = 'xxx'
app_secret = 'xxx'
access_token = 'xxx'
access_token_secret = 'xxx'
list_id = u'xxxxxxx'
screen_name = u'xxxxx'