您可以使用 Facebook API 回到多远的过去? [英] How far back in time can you go with the Facebook API?

查看:26
本文介绍了您可以使用 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?

推荐答案

这是一个棘手的问题.

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

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.

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

All this is because serious bugs in the Facebook Platform.

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

On october 15 Facebook said in its blog

我们最近收到了大量关于我们应该采取哪些措施来改进 Facebook 平台的反馈.主题很明确:修复错误"、更新文档"、多与我们交流"和让事情更可靠".我们正在倾听,这篇博文概述了我们正在采取的一些措施来解决您的疑虑.

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.

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

This means that they are now fixing the bugs that has been accumulated on many months in Facebook Bug Tracker.

其中一个公开的 Bug 说:

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

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

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

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.

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

Many other developers have states the same thing under the comments of this Bug.

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

On 2010-09-27 Jeff Bowen (Developer from facebook) said the following

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

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.

这让很多人感到不安,因为他们认为您可以从 Graph API 获得一切.

This have made many people upset since they assumed you could get everything from the Graph API.

无论如何,这是针对多个结果的.如果您想要一个结果(来自 thts 错误中的 commnets),您可以在 2009 年 6 月 15 日

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

就我个人而言,我还没有再次测试,所以我不知道这是否真的像他们说的那样工作.Facebook Graph API 不断变化.从一开始,它就一直是不完整和错误的.但现在 Facebook 表示他们正在努力.

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.

我建议每个 Facebook 开发者注册 Facebook 平台错误跟踪系统,因为有很多不是关于 facebook 的官方信息,这会影响您的应用程序.

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

这篇关于您可以使用 Facebook API 回到多远的过去?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆