- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
自 11 月下旬以来,我们就达到了 Facebook API 的应用程序限制。我们正在获取用户的照片,并选择了 25 张 friend 的照片 → 这是在用户签名时完成的(我们正在为用户建立相册)。
上述行动是有限的,但直到11月底才停止。我们正在使用批量调用从相册中获取照片 -有没有更好的方法不受限制地获取此信息?
顺便说一句,根据 Facebook 的说法,我们每天进行 100 万次调用,但根据我们的统计,我们每天进行 18 万次调用。
只获取用户的照片而不获取他 friend 的照片对我们来说不是解决方案。
最佳答案
Facebook API 限制并未真正记录在案,但显然类似于:600 calls per 600 seconds, per token & per IP .由于站点受限,引用相关部分:
After some testing and discussion with the Facebook platform team, there is no official limit I'm aware of or can find in the documentation. However, I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you. I've also seen some application based rate limiting but don't have any numbers.
As a general rule, one call per second should not get rate limited. On the surface this seems very restrictive but remember you can batch certain calls and use the subscription API to get changes.
因为您可以通过 Javascript SDK 在客户端访问 Graph API;我认为如果您从客户端请求照片,您将不会达到任何应用程序限制
,因为它是用户(每个人都有唯一的 ID)正在获取数据,而不是您的应用程序服务器(唯一的 ID ).
如果您所做的一切都通过服务器,这可能意味着巨大的重构。但如果您有这么多请求,这似乎是最好的解决方案(因为它会让您的服务器喘口气)。
否则,你可以尝试batch
request ,但我想如果你的流量很大,你已经在走这条路了。
根据Facebook Platform Policy,如果这些都不起作用,你应该联系他们。
If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day).
关于 Facebook API : (#4) Application request limit reached,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14092989/
我收到以下错误消息: Error in "if (reached.threshold < min.reached.threshold) {" : missing value wher
我收到以下错误消息: Error in "if (reached.threshold < min.reached.threshold) {" : missing value wher
根据 react-router-dom github 页面上的推荐,我开始将 @reach/router 用于一个新项目。不幸的是,看似非常简单的用例无法正常工作。我首先尝试将 @mui Bottom
为了能够使用 Keras 作为编程工具,有时需要查看方法的源代码。我知道 Keras 中的每个功能都是公开实现的,并且可供公众访问。但不幸的是,在您没有足够的经验之前,在网络上找到代码并非易事。例如
1. 我正在使用this指南来获取要运行的nginx Web服务器镜像,并使用了以下命令 docker run -p 8888:80 nginx docker run -p 80:80 nginx 我
我正在研究缩放功能。此缩放是一个具有 100% 窗口大小的固定框和一个具有固定框宽度 200% 的图像内部。 这个缩放需要像这样工作: 当光标位于窗口中心时,图像应位于中心。 当光标在右上角时,图像应
我对三个不同的路线使用相同的组件: 有没有办法把它结合起来,就像: 最佳答案 对于到达路由器:( https://reach.tech/router/exampl
我目前正在尝试创建 CSS 波纹效果。当我缩放按钮时,波纹不会到达按钮的边缘。波纹的增长速度对于每个按钮尺寸都是相同的。这是一个普通的按钮。按下按钮时添加 CSS。 这是我的 CSS 代码:
我在 Xcode 5 中遇到这个问题,我试图将文件提交到远程 git 存储库 (BitBucket) 并 pop 一个窗口,其中显示以下错误:“无法访问存储库“project_name”。请确认存储库
在 Facebook Insights UI 上有一个名为“Reach”的部分。使用 Insights API 的 page_impressions_unique(应该带有“Reach”值)我得到的值
R 的网络连接有问题。 library(curl) req sessionInfo() R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw
我创建了一个 Django 项目和一个虚拟环境,我在我的 Ubuntu 服务器上安装了 python。当我尝试通过键入来运行开发服务器时 $ ./manage.py runserver 0.0.0.0
我已启用 SeriLog(最新版本)自记录功能,并且看到数百条消息说 Maximum destructuring depth reached 不知道这意味着什么以及这是否是我需要担心的问题。 有谁知道
我有一个应用程序,其中有 N 个不同的布局(例如 BeforeLogin、MainLayout、SomeElseLayout、等)。 每个布局都是一个 HTML 标记组件,应包装页面组件,例如 Set
当我导航到新页面时,Reach Router 会向下滚动到标题后面的页面内容(如果内容足够长)。我假设这是为了可访问性,但对于我的应用程序来说这不是必需的,而且实际上非常不和谐。可以禁用此行为吗? 请
使用 Reach 路由器(不是 React 路由器!)我有 2 个嵌套路由: /g/123/g/123/about 其中 123 是 :groupId 参数: import React from "r
我正在使用办公室网络来学习SAP HANA,要连接到HANA系统,我必须先连接到VPN,然后只有HANA系统才能上网。我配置了一个简单的项目 XS 应用程序,但是当我尝试运行它时,它显示以下错误: h
我有以下可以正常工作的 docker-compose 文件: version: '3' services: myfrontend: image: myregistry.azurecr.io/im1
我正在计算 Action 类中搜索屏幕中的页数。我需要从 1 迭代到显示带有链接的页码,但我找不到使用 执行此操作的方法。 Java 等效代码将是,请让我知道哪里有办法在带有 struts 2.0
我通过docker在三个数据中心(DC1、DC2和DC3)中设置了三个Cassandra节点(cas1、cas2和cas3)。我想使用 Java API 在 cas1 建立 session ,但连接失
我是一名优秀的程序员,十分优秀!