使用Graph API获取Facebook页面的最大限制 [英] Maximum limit fetching facebook pages with Graph API

查看:455
本文介绍了使用Graph API获取Facebook页面的最大限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从帐户中提取Facebook页面的最大限制是什么?

What is the maximum limit for fetching the facebook pages from an account?

假设如果一个Facebook帐户有超过200页的管理。如果我尝试使用'/ me / accounts'边缘检索该帐户的Facebook页面。

Let's suppose if a facebook account has more than 200 pages to administer. If I try to retrieve facebook pages of that account using '/me/accounts' edge.

然后我得到数据以及分页(包含游标 next 以前的页面链接)。我想知道的是,如果我可以在提取Facebook页面(如'/ me / accounts?limit = 200')时设置限制,并获取所有200个Facebook页面的帐户有

Then I get data as well as paging (containing cursors and next, previous page links). What I want to know is If I can set a limit while fetching the facebook pages like '/me/accounts?limit=200' and get all the 200 facebook pages the account has??

我已经搜索了文档但是对于这个费率限制没有明确的解释。。 p>

I have searched the documentation But there is no clear explanation as for this rate limit.

推荐答案

基本上没有任何修正值附加在任何FB api它可以根据性能和需要facebook Api如 fb link 所列。

Basically there is not any fix value for limit parameter attached in any FB api it can vary according to the performance and need of facebook Api as listed in fb link


limit:这是每页
中返回的单个对象的数量。限制为0将不会返回结果。出于性能原因,某些边缘的限制值上限为
以上。如果发生这种情况,我们将
返回正确的分页链接。

limit : This is the number of individual objects that are returned in each page. A limit of 0 will return no results. Some edges have an upper maximum on the limit value, for performance reasons. We will return the correct pagination links if that happens.

但默认情况下,它们大多数使用25蜜蜂。正如我所观察到的,你可以将它扩展到500,但是@luschn说你不能依赖它,因为它们可以不时地改变它,所以使用默认值与分页。另外我发现很少有链接告诉api限制,首先是 Quora 和另一个 Facebook 可能是他们会帮你。

But by default they use it as 25 in most of his apis. And as I have observed you can extend it to 500 but as @luschn said you can't rely on it as they can change it by time to time so use the default value with paging. Also I have found few Links telling about api limit as first on Quora and another on Facebook may be they will help you.

这篇关于使用Graph API获取Facebook页面的最大限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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