【问题标题】:Facebook Graph API: I get "Calls to stream have exceeded the rate of 600 calls per 600 seconds." at 38-th API callFacebook Graph API:我收到“流式调用已超过每 600 秒 600 次调用的速率。”在第 38 次 API 调用时
【发布时间】:2013-07-23 11:44:51
【问题描述】:

我的应用程序尝试通过发送如下 API 请求来获取 Facebook 页面的照片信息:

https://graph.facebook.com/152623178098449/photos?fields=id,name,from,link,created_time,comments.filter(stream).limit(20).fields(id,message,from,created_time,like_count,comment_count),likes.limit(20).fields(id,profile_type),sharedposts.limit(20).fields(from,id)&limit=25&after=...&access_token=...

它在 1 秒内发送 1 个调用,但在第 38 次调用 API 后我得到:

Error: (#613) Calls to stream have exceeded the rate of 600 calls per 600 seconds.

我不使用批处理请求。为什么 FB 认为我的申请超过了限制?

谢谢!

【问题讨论】:

    标签: facebook-graph-api limit


    【解决方案1】:

    请在此处查看我的答案:Do Facebook Graph API calls using field expansion count differently against the rate limits than batch calls

    您正在使用字段扩展,而 facebook 似乎将此视为速率限制下的额外调用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-21
      相关资源
      最近更新 更多