Allow followertxt to be (theoretically) executed using an app registered by a different user

This commit is contained in:
Klaus-Uwe Mitterer 2015-05-17 21:56:45 +02:00
parent 0c16692f1e
commit 99d7267688

View file

@ -9,7 +9,7 @@ auth = tweepy.OAuthHandler(config.cke, config.cse)
auth.set_access_token(config.ato, config.ase)
api = tweepy.API(auth)
follower_ids = api.followers_ids()
follower_ids = api.followers_ids(screen_name=config.name)
with open(outfile, 'a') as f:
for page in tools.paginate(follower_ids, 100):