identi.ca 的推文计数器
有没有办法检索某个 URL 被“削弱”的次数(在 identi.ca、status.net 和/或类似网站上共享?)。
对于 Twitter,有多种服务可以提供此信息。
- Twitter 本身: http://urls.api.twitter.com/1/urls/count.json?url=http://example.com&callback=twttr.receiveCount
- 推文:http://api.tweetmeme.com/url_info.jsonc?url=http://example.com< /a>
- Topsy: http://otter.topsy .com/stats.js?url=http://example.com&callback=?
我不需要 Tweetmeme 或 Topsy 提供的花哨的额外信息,只需要数量。
我知道这是有问题的,从 status.net 的“分布式”性质来看:它只会给出来自单个筒仓的计数,例如 identi.ca。不过,对于现在的我来说,这就足够了。
有没有这样的端点可以给我这样的 JSON?
Is there a way to retrieve the amount of times a certain URL was "dented" (shared on identi.ca, status.net and/or the likes?).
For twitter there are several services that give this information.
- Twitter itself: http://urls.api.twitter.com/1/urls/count.json?url=http://example.com&callback=twttr.receiveCount
- Tweetmeme: http://api.tweetmeme.com/url_info.jsonc?url=http://example.com
- Topsy: http://otter.topsy.com/stats.js?url=http://example.com&callback=?
I don't need the fancy extra information that Tweetmeme or Topsy deliver, only the amount.
I am aware that this is problematic, seen from the "distributed" nature of status.net: it will only give a count from once single silo, e.g. identi.ca. However, for me, for now, that would be enough.
Is there such an endpoint that gives me such JSON?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不这么认为。 StatusNet 数据库中有一个
file
表,其中包含对凹陷 URL 的引用(因此,如果您有权访问数据库或可以编写插件,那么对它们进行计数并不困难 - 即,您不会必须解析所有通知,只需查找file
表),但它不通过 API 公开。StatusNet 可能调用的 API 列表如下:http://status.net/wiki/TwitterCompatibleAPI
此外,还有一个关于此主题的拟议 Google Summer of Code 项目:社交分析插件
I don't think so. There's a
file
table in StatusNet databases that holds references to dented URLs (so it wouldn't be hard to count them if you had access to database or could write a plugin -- i.e., you wouldn't have to parse all notices, just lookup thefile
table), but it's not exposed through the API.The list of API possible calls for StatusNet is here: http://status.net/wiki/TwitterCompatibleAPI
In addition, there's a proposed Google Summer of Code project on this subject: Social Analytics plugin