[有人可以告诉我如何使用Tweepy通过特定的user_id
或user_name
检索推文吗?到目前为止,我只有这个:
new_tweets = api.search(q=keyword, count=tweetsPerQry, geocode="23.5021579914,40.8558165767,500km" )
通过特定地理位置返回Tweets,但我希望它通过user_id
返回Tweets。
您可以使用API.user_timeline
,后者使用API.user_timeline
。