开发者

Twitter API tweets for time range

开发者 https://www.devze.com 2023-04-10 23:31 出处:网络
Is there a way to use the Twitter API to get a user\'s tweets for a specific time range?开发者_JAVA技巧

Is there a way to use the Twitter API to get a user's tweets for a specific time range?

开发者_JAVA技巧

It doesn't seem to be in statuses/user_timeline.


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

and

20 ways of searching old tweets

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号