def on_follow(self, f_id):
"""
Follow back on being followed
"""
try:
self.api.create_friendship(f_id, follow=True)
self.friends.append(f_id)
logging.info('Followed user id {}'.format(f_id))
except tweepy.TweepError as e:
self._log_tweepy_error('Unable to follow user', e)
Trending_Bot.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录