Facebook (#32) Page request limited reached

后端 未结 1 1146
-上瘾入骨i
-上瘾入骨i 2021-02-05 17:26

I am getting the following error while I am trying to access my page using Facebook Graph API.

{
error: {
message: \"(#32) Page request limited reached\",
type:          


        
1条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 18:13

    It is related to your Page. An App limit reached message error would have the code error 4.

    Since July 11, 2016 Facebook has "improved" the Facebook Graph API rate limit for page.

    What's my current rate limit?


    Now your current rate limit (current 24-hour window) is calculated using last 24-hour window number of engaged users.

    Engagement includes a click on the Page or Page content.

    NOTE: You can get this value with the Insights API page_engaged_users metric.

    What's my current rate?


    Your current rate is calculated by using:

    • Call count
    • Total time used
    • CPU time used

    You can check you current rate compared to your current rate limit on your page > Insights > API section:

    https://www.facebook.com//insights/?section=navAPI
    

    What's my current "Call count" limit?


    You can make 4800 calls for each engaged user during a 24-hour period.

    What can I do?


    1. Wait to get more fans to be able to get a higher rate limit.
    2. Each Facebook Graph API response includes a X-Page-Usage header with call_count, total_cputime and total_time percentage values (There is no header if the Page's utilization is effectively 0%). When any of these metrics exceed 100, the app managing that page will be rate limited. Use that values to evaluate your API usage so you can balance it and never get blocked. Example of page utilization header:

      X-Page-Usage : {'call_count' : 85, 'total_cputime' : 56, 'total_time' : 60}
      
    3. If you still need a higher rate limit, consider requesting a rate limit increase.

      • Go to your App (not Page) dashboard:

        https://developers.facebook.com/apps//dashboard/
        
      • Scroll down to the last block called "API limit at page level".

      • Select you page in the combobox.
      • Click on the "API Limit Increase Request" button. You'll be requested to fill a form including the reason for your app to reach the rate limit and why your app needs a higher rate limit.

    Detailed information


    For more information, please see:

    • Improving Rate Limits for Page Management Apps developers announcement.
    • API Graph Rate Limiting advanced documentation.

    0 讨论(0)
提交回复
热议问题