时间范围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?
这似乎并不在状态/ user_timeline。
It doesn't seem to be in statuses/user_timeline.
推荐答案
您可以使用,因为
和直到
运营商。
You can use the since
and until
operator.
<$c$c>https://api.twitter.com/1.1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=your_screen_name&since:2011-05-16&until:2011-08-16$c$c>
不过,这对你一点好处,因为微博是在一个小的时间窗口进行搜索。为了解决这个问题看看几个资源,
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屋!