“每日平均活跃用户"适用于Facebook API限制 [英] "Average Daily Active Users" for Facebook API Limits

查看:89
本文介绍了“每日平均活跃用户"适用于Facebook API限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我突然开始遇到API限制.我一直将我的API调用限制为:number of users * 200,但每天大约一次出现#4错误.

I've suddenly started running into API limits. I've been restricting my API calls to: number of users * 200, but I'm getting error #4 about once per day.

此计算基于2015年底的文档,该文档表示您的应用昨天拥有的用户数量,以及今天的新登录人数.

This calculation was based on the docs from end of 2015 that said number of users your app had yesterday, plus new logins today.

但看起来已更改为:

您的应用拥有的用户数是您应用的平均每日活跃用户,加上今天的新登录信息

The number of users your app has is the average daily active users of your app, plus today's new logins

有人可以向我解释什么是平均每日活跃用户"?有没有办法我可以访问这个号码?

Can someone explain to me what "average daily active users" is? And is there a way I can get access to this number?

关于我在做什么的一些信息:

Some information on what I'm doing:

我的应用程序获取页面和页面中的帖子.为此,我点击了Facebook API以获取用户喜欢的页面.然后,每个小时,我都会从系统知道的页面中获取帖子.

My app fetches pages and posts from pages. To do this, I hit the Facebook API to get user's liked pages. Then each hour, I fetch posts from pages the system knows about.

我执行以下操作:

  • 批处理请求(每批50个)
  • 我仅自上次获取以来获取帖子(使用since,直到和限制参数.90%的请求返回0个帖子)
  • 我只是从用户喜欢的页面中获取帖子
  • 我正在使用我的应用令牌来处理这些请求
  • 我限制了每小时打给用户的电话数量* 200
  • Batch requests (50 per batch)
  • I'm only fetching posts since the last fetch (using since, until and limit params. 90% of the requests return 0 posts)
  • I'm only fetching posts from pages my users like
  • I'm using my app token for these requests
  • I limit the number of calls per hour to users * 200

推荐答案

批处理请求不会减少API限制,它们只会更快,仅此而已.话虽如此:您写道您正在使用应用程序令牌"来处理请求-您应该改用用户令牌".虽然仍然有很多调用,但是您唯一可以做的就是减少API调用的数量.

Batch Requests don´t reduce API limits, they are only faster, that´s all. That being said: You wrote that you are using an "App Token" for the requests - you should use a "User Token" instead. It´s still a LOT of calls though, the only thing you can do in addition is to reduce the amount of API calls.

这篇关于“每日平均活跃用户"适用于Facebook API限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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