Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Application Rate Limit #4 - June 2018 Bug

Facebook seems to be experiencing a bug in regards to their rate-limits. The bug has been open for several days at the time of writing. I'm sure everyone is aware that this affects the client base of these developers severely.

The requests limit seems sporadic and is not inline with the documentation. The actual rate limits seems to have increased drastically, only allowing a percentage of requests as compared to "normal" Several people seem to be affected:

https://developers.facebook.com/support/bugs/169774397034403/

Does anyone have any work-around, suggestions or insights in place to alleviate this problem?

The original bug report submitted:

Our application has been encountering the "GraphAPIError: (#4) Application request limit reached" error on and off for the past several days. Our application monitors several of our users accounts and pulls data for every FB Page, and it has for the past few years made a number of API calls to gather metrics on those accounts which would normally occur over a period of less than two hours every day. On May 25th, we were able to make 1% of the API calls we normally make over a 24 hour period due to the Application rate limit. On May 26th, we got 3% of the API calls we normally make over a 24 hour period due to the same Application rate limit. Then for the 27th-29th it went back to normal, in less than 2 hours we were able to make 100% of the API calls we normally make, with no errors. Then on the 30th we were able to make 33% of the normal API calls, and thus far for today the 31st we have been able to make 1% of the normal API calls. Nothing has changed on our end, and there is no reason why we should only be able to make 1% of the API calls normally make some days and not for other days, especially since our application has been doing the same exact thing for several years now. Any assistance it appreciated.

like image 352
Riaan van Zyl Avatar asked Jun 20 '18 11:06

Riaan van Zyl


People also ask

What is Facebook rate limit?

the 1-hour one for app-level rate limiting, with the limit being 4,800 calls per engaged user per 24 hours for any given Page.

What does 17 user request limit reached mean on Facebook?

This error happens when somebody is spamming the Facebook application with an unusual number of requests. When a rate limit is exceeded, all API calls from an app are throttled and fail for a brief period of time. It can take up to an hour before requests could be accepted again.

How do I fix rate limit exceeded?

Steps to Fix User Rate Limit Exceeded Issue To fix this issue, you need to raise the limits in Google APIs. Step 1: Sign in to your Google developers console project. Step 2: Select the project from the top panel. Step 3: Select the project from the menu options.


2 Answers

So we also are having issues with rate limits.

Our solution is two fold.

Step one, for clients who are consistently running into rate limits (the reason is that they only have one daily active user but manage hundreds of pages) we are adding users (employee users) to the app. Since out app is for scheduling posts, we have scheduled posts on each of these 'new' users to go out each day. This is bumping the apps daily active user number resulting in more throughput from the api.

The longer term solution is that we are building a new service to manage all of the api calls. It will analyze the apps throughput, throttle api calls as needed, and provide reporting insight into what calls are being made and by which customer/app so we can better optimize the calls going out.

It's easy to just install a SDK and go to town, but it looks like that just isn't going to cut it anymore.

like image 127
Don Rzeszut Avatar answered Sep 30 '22 14:09

Don Rzeszut


My application regularly queries the posts for several of our own as well as our competitor's pages. (Media website facebook pages linking to news articles. We like to compare the posts and the performance to the competition.)

What I've done to reduce the issue is use the app token for the competitor's posts, but use a page-specific token for our own page posts. This significantly reduced the amount of calls on the app token, causing the rate limit to kick in much less often.

like image 22
SVerhulst Avatar answered Sep 30 '22 15:09

SVerhulst