Facebook Graph API apprequests edge 限制
Facebook Graph API limit for apprequests edge
正在尝试获取特定用户的所有应用程序请求,使用 v2.2 open graph 调用:
https://graph.facebook.com/v2.2/<facebookID>/apprequests?access_token=<accessToken>&format=json&limit=500&method=get
在 Facebook 的文档中找不到 "limit" 的上限是多少,而且我没有那么多申请来测试它。我正在寻找 Facebook 限制请求和分页的实际值。
limit
参数的上限数字因端点而异。这是因为每个端点的性能差异。
这在关于遍历图形的部分中有记录API:https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#paging:
limit : This is the number of individual objects that are returned in
each page. Note that this is an upper limit, if there are not enough
remaining objects in the list of data, then less than this number will
be returned. Some edges have an upper maximum on the limit value, for
performance reasons. We will return the correct pagination links if
that happens.
这意味着您可以请求任何数量,并且会受到 Facebook 对该边缘的最大值的限制。
正在尝试获取特定用户的所有应用程序请求,使用 v2.2 open graph 调用:
https://graph.facebook.com/v2.2/<facebookID>/apprequests?access_token=<accessToken>&format=json&limit=500&method=get
在 Facebook 的文档中找不到 "limit" 的上限是多少,而且我没有那么多申请来测试它。我正在寻找 Facebook 限制请求和分页的实际值。
limit
参数的上限数字因端点而异。这是因为每个端点的性能差异。
这在关于遍历图形的部分中有记录API:https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#paging:
limit : This is the number of individual objects that are returned in each page. Note that this is an upper limit, if there are not enough remaining objects in the list of data, then less than this number will be returned. Some edges have an upper maximum on the limit value, for performance reasons. We will return the correct pagination links if that happens.
这意味着您可以请求任何数量,并且会受到 Facebook 对该边缘的最大值的限制。