查找用户最喜欢的推文
如果我理解正确的话,Twitter 只能让你检查用户喜欢的推文,而不是其他用户喜欢的推文。 (例如 http://api.twitter.com/1/favorites/aplusk.xml)。
Favstar.fm 等网站提供此服务,我不知道如何?
抓取所有用户的收藏夹以将它们交叉到某个用户的收藏夹似乎不合理。 (即使您只抓取该用户的朋友)
更新:Favstar 实时了解新收藏的推文。他们似乎不可能爬遍你所有的朋友来得到这个。
If I understand correctly Twitter only lets you check which Tweets a user favorited, and not which of his tweets were favorited by other users. (e.g. http://api.twitter.com/1/favorites/aplusk.xml).
Sites like Favstar.fm offer that, I wonder how?
Seems unreasonable to crawl all the users favorites to cross them to favorited of a certain user. (even if you crawl only the friends of that user)
update: Favstar know of new favorited tweets in real time. it seems unlikely they crawl all of your friends to get that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好的,我想我已经弄清楚了一部分:
Favstar 有许多经过身份验证的用户,因此他们可以访问他们的用户流
(http://dev.twitter.com/pages/user_streams)
这样他们就可以通过流式传输来获取新的收藏夹,然后将它们交叉到它所收藏的用户\tweet,从而可以实时显示您的新收藏夹推文。
这里重要的部分是拥有许多经过身份验证的用户,否则这对我来说仍然是不可能的。不过,就像先有鸡还是先有蛋一样,如果他们还没有很多用户,他们如何说服用户进行身份验证(?)。
如果有人有更好的主意……
令人惊讶的是,创造力是这个 CS 世界的重要组成部分。现代艺术
Ok, i think i figured part of it out:
Favstar have many authenticated users' so they can access their User Stream
(http://dev.twitter.com/pages/user_streams)
That way they can get the new favorites, by streaming, and just cross them to the user\tweet it was favorited to, thus can display in real time your new favorited tweets.
The important part here is having many authenticated users, without that this still seems impossible to me. Though, its like the chicken and the egg, how did they convince users to authenticate if they didn't have many users yet(?).
If anyone has a better idea...
Amazing how creativity is a significant part of this CS world. Modern Art
如果 FavStar 已获准提高速率限制,那么他们抓取您的朋友并获取他们喜欢的推文列表将是非常简单的。
If FavStar has been approved for increased rate limits, it would be pretty trivial for them to crawl your friends and grab a list of Tweets that they have favorited.
Favstar 可以访问 Twitter 数据流。它是每一条推文和用户操作的实时流。
您可以使用 Gnip 访问它的一部分。请参阅此 Twitter 论坛问题,了解如何访问 Twitter Firehose
围绕 Twitter 实现一组类似的功能数据会让开发者付出代价
Favstar has access to the Twitter data firehose. It is a live stream of every single tweet and user action.
You can get access to part of it using Gnip. See this Twitter forum question about How to Access the Twitter Firehose
To implement a similar set of functionality around Twitter data would cost the developer