使用 Facebook API 可以追溯到多久以前?

发布于 2024-09-30 03:27:14 字数 64 浏览 1 评论 0原文

使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆光下的微笑 2024-10-07 03:27:14

这是一个棘手的问题。

首先,官方文档中没有说明您可以从 Graph API 或 FQL 获得多少项。
不仅如此。此外,当尝试执行最近的正常查询时,您可能会发现并非每个结果都会返回。也不是来自 Graph API、FQL,甚至不是来自 FQL 测试控制台。

这一切都是因为Facebook平台存在严重错误。

10 月 15 日,Facebook 在其博客中表示

最近我们收到了大量关于我们应该采取哪些措施来改进 Facebook 平台的反馈。主题很明确:“修复错误”、“更新文档”、“与我们更多地交谈”和“让事情变得更可靠”。我们正在倾听,这篇文章概述了我们为解决您的担忧而采取的一些措施。

这意味着他们现在正在修复 Facebook Bug Tracker 中数月以来积累的错误。

其中一个未解决的错误说:

当使用 FQL 查询或利用新的图形 API 来抓取用户的帖子时
流,并非所有帖子都会返回。

据我所知,系统会从最近的帖子中抓取最新的帖子
月,然后变得非常参差不齐。我可以抢帖子
从我自己到 2010 年 4 月 24 日,此时我拥有的每一个墙贴
发布的内容似乎消失了。

许多其他开发者在这个 Bug 的评论下也声明了同样的事情。

2010-09-27 Jeff Bowen(来自 facebook 的开发者)说了以下内容

大家好,我们仍然需要将其添加到文档中,但是流表是
限制最近 30 天或 50 个帖子,以较大者为准。抱歉这不是
之前发布过。

这让很多人感到不安,因为他们认为你可以从 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

We have received a great deal of feedback recently about things we should do to improve Facebook Platform. The themes are clear: “fix the bugs,” “update the documentation,” “talk to us more,” and “make things more reliable.” We are listening, and this post outlines some of the things we are doing to address your concerns.

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:

When using a FQL Query or utilizing the new Graph API to grab posts on a users
stream, not all posts are returned.

From what I can see, the system will grab the latest posts from within the last
month, and then becomes extremely spotty after that. I am able to grab posts
from myself up to 4/24/2010, at which point every single wall post I have
posted seems to disappear.

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

Hi all, we still need to add this to the documentation but the stream table is
limited the last 30 days or 50 posts, whichever is greater. Sorry this wasn't
previously published.

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文