使用 Facebook API 可以追溯到多久以前?
使用 Facebook API 只能获取最近的内容(墙贴、好友状态更新等),还是可以获取与用户帐户相关的所有内容?
With the Facebook API are only recent things (wall posts, friends status updates etc) obtainable or is everything ever associated with the user's account obtainable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个棘手的问题。
首先,官方文档中没有说明您可以从 Graph API 或 FQL 获得多少项。
不仅如此。此外,当尝试执行最近的正常查询时,您可能会发现并非每个结果都会返回。也不是来自 Graph API、FQL,甚至不是来自 FQL 测试控制台。
这一切都是因为Facebook平台存在严重错误。
10 月 15 日,Facebook 在其博客中表示
这意味着他们现在正在修复 Facebook Bug Tracker 中数月以来积累的错误。
其中一个未解决的错误说:
许多其他开发者在这个 Bug 的评论下也声明了同样的事情。
2010-09-27 Jeff Bowen(来自 facebook 的开发者)说了以下内容
这让很多人感到不安,因为他们认为你可以从 Graph API 获得一切。
无论如何,这是为了多个结果。如果您显然想要一个结果(来自 thts bug 中的通讯网络),您可以到 2009 年 6 月 15 日 就
我个人而言,我还没有再次测试过,所以我不知道这是否真的有效就像他们说的那样。 Facebook Graph API 不断变化。从一开始它就一直不完整且存在缺陷。但现在 Facebook 表示他们正在努力解决这个问题。
我建议每个 Facebook 开发者注册 Facebook 平台错误跟踪系统,因为有很多非官方的错误跟踪系统关于 Facebook 的事情,会影响你的应用程序。
我会密切关注该主题是否有更多内容,并在需要时更新此答案
That's a tricky question.
First nowhere in the official documentation says how many items you can get from Graph API nor FQL.
Not only this. Also when trying to do normal recently querys you may find out that not every result is returnes. Nor from the Graph API, FQL, not even from the FQL Test Console.
All this is because serious bugs in the Facebook Platform.
On october 15 Facebook said in its blog
This means that they are now fixing the bugs that has been accumulated on many months in Facebook Bug Tracker.
One of the open Bugs in there says:
Many other developers have states the same thing under the comments of this Bug.
On 2010-09-27 Jeff Bowen (Developer from facebook) said the following
This have made many people upset since they assumed you could get everything from the Graph API.
Anyway this is for multiple results. If you want a single result apperently (from the commnets in thts bug) You could go as far as June 15 2009
Personally, I haven't tested yet again so I don't know if this actully works the way they say. Facebook Graph API is in constant change. It has been incomplete and buggy since the begining. But now Facebook says they are working on that.
I recommend every facebook developer to sign up for the Facebook Platform bug tracking system since there is a lot of not official things about facebook, that will impact your applications.
I'll keep an eye on there to see if more is said on this topic and update this answer if needed