To further a personal project of mine, I have been pondering how to count the number of results for a user specified word on Twitter. I have used their API extensively, but have not been able to come up with an efficient or even halfway practical way to count the occurrences of a particular word. The actual results are not critical, just the overall count. I'll keep scratching my head. Any ideas or direction pointing would be most appreciated.
Chris Ballance
问问题
6939 次
2 回答
2
我可以回去大约一个星期。我使用 Adam 发布的参数开始搜索,然后关闭搜索结果集中最小的 id,例如 http://search.twitter.com/search.atom?lang=en&q=iphone&rpp=100&max_id= 其中 max_id = 我刚刚提取的 100 个结果的最小值(id)。
于 2010-07-17T15:40:38.593 回答
0
net 但我已经做了递归函数来一次又一次地调用搜索查询,直到我在结果中找不到单词“page =”。
于 2012-02-23T09:06:04.277 回答