开发者

Twitter4J: get todays tweets from a public profile?

开发者 https://www.devze.com 2023-03-03 12:23 出处:网络
I\'m aware you can ge开发者_如何学运维t all tweets and the last X number of tweets but how would I return every tweet for the past 24 hours?Using Twitter Search, you can specify a date range using sin

I'm aware you can ge开发者_如何学运维t all tweets and the last X number of tweets but how would I return every tweet for the past 24 hours?


Using Twitter Search, you can specify a date range using since: and a from: parameter to select who it is coming from. For example:

http://search.twitter.com/search?from=biz&since=2011-05-04&until=2011-05-05&rpp=20

Using Twitter4J, the query you want to use is the string from:biz since:2011-05-04 using one of the search libraries.

0

精彩评论

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