[英]How to get user_id from tweet_id in Tweepy?
我無法從特定的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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.