时间范围的 Twitter API 推文 [英] Twitter API tweets for time range
问题描述
有没有办法使用 Twitter API 来获取用户在特定时间范围内的推文?
Is there a way to use the Twitter API to get a user's tweets for a specific time range?
它似乎不在 statuses/user_timeline 中.
It doesn't seem to be in statuses/user_timeline.
推荐答案
您可以使用 since
和 until
运算符.
You can use the since
and until
operator.
https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&inc lude_rts=true&screen_name=your_screen_name&since:2011-05-16&until:2011-08-16
但这对你没有什么好处,因为推文可以在很短的时间窗口内搜索到.要解决此问题,请查看多个资源,
But it will do you little good because tweets are searchable in a small time window. To get around this check out several resources,
Snapbird - https://github.com/remy/snapbird
Snapbird - https://github.com/remy/snapbird
和
这篇关于时间范围的 Twitter API 推文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!