简体   繁体   English

Tweepy在上周获得用户喜欢的推文

[英]Tweepy get user favorited tweets in the last week

Using Tweepy I would like to retrieve all the tweets a user A favorited in the last week. 我想使用Tweepy检索用户A在上周喜欢的所有推文。

Is it possible? 可能吗? How can I do it with tweepy? 我怎么用tweepy做?

I searched tweepy documentation, but it seems like what I got is the datetime when a third user B tweeted the tweet that user A favorited. 我搜索了tweepy文档,但似乎得到的日期时间是第三位用户B发推用户A最喜欢的推文的日期时间。

Thanks 谢谢

Sadly, you have your answer. 可悲的是,您有答案。 This is a weakness in the Twitter API - it only shows you when a Tweet was created, not when the favourite was made. 这是Twitter API的弱点-仅在创建推文时显示,而在创建收藏时不显示。

You can see what is returned in the GET favorites/list documentation . 您可以在GET favorite / list文档中查看返回的内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM