def get_followers(self, account_name):
"""Return a list of all the followers of an account"""
followers = []
for page in tweepy.Cursor(self.api.followers_ids, screen_name=str(account_name)).pages():
followers.extend(page)
return followers
评论列表
文章目录