开发者

Count the tweets from time x until time y

开发者 https://www.devze.com 2023-02-13 14:29 出处:网络
I am trying to make an application using Twitter API, and it would be very helpful to be able to count the number of tweets that mention a given word in an specified time (from time x to time y). Usua

I am trying to make an application using Twitter API, and it would be very helpful to be able to count the number of tweets that mention a given word in an specified time (from time x to time y). Usually this time will be开发者_运维技巧 short, just a matter of seconds.

Does any one know a way of doing this?

Thanks


You can use the Twitter streaming API to collect all tweets that include a specific word, and then count the tweets that match. The streaming API lets you track up to 400 words.

0

精彩评论

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