Twitter API:如何从时间范围获取用户的推文?
答
查看Twitter资源的此列表以检索历史数据。看起来Tweetbird是Searchastic获得好评的最佳选择,但它现在已经关闭。
http://blog.tweetsmarter.com/twitter-search/10-ways-and-20-features-for-searching-old-tweets/
还有一个叫Snapbird网站,查询老鸣叫。他们在Github上也有一个API,可以规避10天的搜索限制。您当然可以使用任何API方法来获取用户推文。
https://github.com/remy/snapbird
您还可以使用Twitter的自己since
和until
运营商的时间表,但历史数据的容量是有限的,因此建议使用,而不是列出的资源。
例如:
https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name={screen_name}&since:2011-11-01&until:2011-11-06