Tweepy:是否有可能获得在屏幕名称或描述中具有特定字符串的成员列表?
Tweepy: Is it possible to get a list of members who have in a certain string in the screenname or in the description?
我在 tweepy 看到的每个方法都需要特定的用户名或用户 ID。是否可以在推特上搜索用户名或描述中的字符串?例如:查找用户名或描述中包含字符串 "pet lover".
的所有成员
找到解决方案:
api = tweepy.API(auth)
user_in_twitter = api.search_users("query")
我在 tweepy 看到的每个方法都需要特定的用户名或用户 ID。是否可以在推特上搜索用户名或描述中的字符串?例如:查找用户名或描述中包含字符串 "pet lover".
的所有成员找到解决方案:
api = tweepy.API(auth)
user_in_twitter = api.search_users("query")