Maximum restriction on getting facebook pages using Graph API

What is the maximum limit for getting facebook pages from an account?

Suppose if your facebook account contains more than 200 pages to administer. If I try to extract the facebook pages of this account using the edge '/me/accounts' .

Then I get data , as well as paging (containing links cursors and next , previous ). I want to know if I can set a limit when retrieving pages on facebook, for example '/me/accounts?limit=200' , and get all 200 facebook pages for which you have an account?

I was looking for documentation. But there is no clear explanation of how the rate limit for this.

+7
facebook-graph-api facebook-php-sdk
source share
2 answers

In principle, there is no fixed value for the limit parameter attached in any FB api, it can vary depending on the performance and needs of facebook Api, as indicated in the fb link

limit: this is the number of individual objects that are returned to each page. Limit 0 does not return results. Some ribs have an upper limit maximum, for performance reasons. We will return the correct page links if this happens.

But by default they use it as 25 in most of their apis. And, as I noticed, you can expand it to 500, but since @luschn said you cannot rely on it, as they can change it from time to time, so use the default value with paging. I also found some links telling about the api limit, like first on Quora and another on Facebook , maybe they will help you.

+4
source share

If you mean the API limit, it is a dynamic, not a final value. The general rule is β€œ600 calls per 600 seconds, per token and per IP”. You can also read this in other Stackoverflow threads, for example: What is the Facebook API call limit?

If you mean the limit parameter: Afaik, they change it from time to time. I would not rely on it and just used the default value with paging, which is usually 25.

+3
source share

All Articles