从API搜索结果得到的鸣叫总数? [英] Get total count of tweets from a API search result?

查看:92
本文介绍了从API搜索结果得到的鸣叫总数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好盖伊,我试图从Twitter搜索API响应算上所有的鸣叫,任何人有什么想法?

Hello Guy's I'm trying to count all of the tweets from a Twitter search API response, anyone got any ideas?

一切我试过似乎并没有工作,我做的一切使用JSON,所以我最好的猜测是获得max_id和对象中的第一项减去ID。但我认为这不是给我一个正确的号码。

Everything I tried doesn't seem to work, I'm doing everything with jSON so my best guess is get the max_id and subtract the id from the first item in the object. But I think that's not giving me a correct number.

推荐答案

我猜你不能做到这一点:Twitter的API文档不显示任何东西,你可以看到<一个href=\"http://stackoverflow.com/questions/580369/count-number-of-results-for-a-particular-word-on-twitter\">Count对于更详细的结果在Twitter上某个单词的数量。

I'm guessing you can't do that: the twitter api docs don't show anything and you can see Count number of results for a particular word on Twitter for more detail.

这篇关于从API搜索结果得到的鸣叫总数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆