你可以用Facebook API多久回来? [英] How far back in time can you go with the Facebook API?

查看:106
本文介绍了你可以用Facebook API多久回来?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Facebook API只是最近可以获得的东西(墙上的帖子,朋友的状态更新等),或者是与用户帐户有关的一切都可以获得?

解决方案

这是一个棘手的问题。



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



所有这一切都是因为Facebook平台中的严重错误。



10月15日Facebook 在其博客中说


最近我们收到了很多有关改进Facebook平台应该做的事情的反馈。主题很清楚:修复错误,更新文档,更多地与我们交谈和使事情更可靠。我们正在倾听,本文概述了我们正在做的一些事情,以解决您的问题


这意味着他们正在修复在Facebook Bug Tracker中多个月累积的错误。



其中一个开放的Bugs 在那里说:


当使用FQL查询或利用新的Graph API抓住用户
流的帖子时,不是所有的帖子都被退回。



从我可以看到,系统将从最后一个
个月内获取最新的帖子,然后变得非常复杂那。我可以从自己那里获得
的帖子,直到2010年4月24日,在这一点上我每个
的每个墙壁帖子似乎都消失了。


许多其他开发人员根据这个Bug的意见声明了同样的事情。



2010-09-27 Jeff Bowen(呃,我们还是需要把这个添加到文档中,但是流表是
限制最近30天或50个帖子,以较大者为准。对不起,这不是以前发布的


这让许多人感到不高兴,因为他们假设你可以从Graph API。



无论如何,这是多个结果。如果你想要一个单一的结果(从你的错误中的commnets)你可以去远至 2009年6月15日



个人,我避风港再次测试,所以我不知道这个actully是否按照他们说的方式工作。 Facebook Graph API不断变化。自从开始以来,它已经不完整了。但是现在Facebook表示他们正在努力。



我建议每个Facebook开发者注册 Facebook平台错误跟踪系统,因为Facebook有很多不是官方的东西,这将影响你的应用程序。



我会留意那里,看看是否有更多的话说这个话题,并更新这个答案,如果需要


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?

解决方案

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

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

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