我无法从特定的 tweet_id 获取 user_id。有没有办法使用 Tweepy 获取推文的作者 id?
最佳答案
对于该推文的作者,或转发/引用状态尝试。
status = api.get_status(id)
author = status.author
retweeted_status_author = status.retweeted_status.author
quoted_status_author = status.quoted_status.author
关于python - 如何在 Tweepy 中从 tweet_id 获取 user_id?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41371848/