Allow followertxt to be (theoretically) executed using an app registered by a different user
This commit is contained in:
parent
0c16692f1e
commit
99d7267688
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ auth = tweepy.OAuthHandler(config.cke, config.cse)
|
||||||
auth.set_access_token(config.ato, config.ase)
|
auth.set_access_token(config.ato, config.ase)
|
||||||
api = tweepy.API(auth)
|
api = tweepy.API(auth)
|
||||||
|
|
||||||
follower_ids = api.followers_ids()
|
follower_ids = api.followers_ids(screen_name=config.name)
|
||||||
|
|
||||||
with open(outfile, 'a') as f:
|
with open(outfile, 'a') as f:
|
||||||
for page in tools.paginate(follower_ids, 100):
|
for page in tools.paginate(follower_ids, 100):
|
||||||
|
|
Loading…
Reference in a new issue