Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7880159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:04:36+00:00 2026-06-03T04:04:36+00:00

I have a question about the way Facebook limits your api calls. Toward the

  • 0

I have a question about the way Facebook limits your api calls.

Toward the bottom of this article: http://developers.facebook.com/blog/post/478/ facebook says:

In addition to the limits mentioned in the documentation for each of the tables and connections listed above, it is helpful to know that the maximum number of results we will fetch before running the visibility checks is 5,000.

I am wondering how one would page through public data like this. For example, take Shakira: she gets many, many likes on each photo she uploads, this api call:

https://graph.facebook.com/5027904559_10150854808869560/likes?format=json&limit=1000&offset=0&__after_id=100002349968919

ends up stopping at 5000 likes.

https://graph.facebook.com/5027904559_10150854808869560/likes?format=json&limit=1000&offset=5000&__after_id=100000881924617

One interesting point is, this data is all public, I do not have to be logged into Facebook to see it. I know there are privacy policies on how you use the data, that is not my question. If the data is public, which this data is, why can’t we get it all, and if we can, how?

The main questions are:

  1. Can you get more than 5000 results for a specific API call, as in the one above?

  2. Is it the most recent 5000 likes? So if you started collecting data on this post right away and then went back every 10 minutes or so to look for new likes, would you be able to get all the data with this method of preventing the 5000 limit?

  3. Is it a limit on API calls, or on just the number of results they send one user, or on the amount of results they send back for a certain post, etc.?

  4. Does this apply to posts, tagged and the comments and like paging?

I know this question is a bit open-ended, but I have looked all over the place for an answer and it is not well documented. Any help would be great, and I think a lot of people may refer to this information in the future.

UPDATE:

When running this API call:

https://graph.facebook.com/5027904559_10150854808869560/likes?format=json&limit=1000&offset=4964&__after_id=100000881924617

You get back one result, and thus hit the limit (well at least close to it). Someone suggested using FQL and that might return more. But I tried doing the same thing in PHP with FQL and got back only 1 record.

$select = urlencode("SELECT user_id, object_id, post_id FROM like WHERE post_id='5027904559_10150854808869560' LIMIT 1000 OFFSET 4964");
        $fql_query_url = 'https://graph.facebook.com/fql?q=' . $select;
        $fql_query_result = file_get_contents($fql_query_url);
        $fql_query_obj = json_decode($fql_query_result, true);

So, so far, the only answer is ‘no’, you are always limited to 5000 results. And I do not think/know if a specific access_token with some specific permission helps.

One more update, when I go to Shakira’s page and click on ‘x amount of people like this’ and start scrolling down through the list, I also hit a limit. So not only is Facebook limiting the API and FQL returns, they are limiting their own pages.

I would be interested to see if anyone knows why? They only have 5k in cache at a time, and they would not be able to handle the scale if people were hitting the database with so many requests? Just a guess.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:04:38+00:00Added an answer on June 3, 2026 at 4:04 am

    There is no way to get more than the last 5000 objects, sadly.

    Unless, as you said, you maintained it from a time when there were LESS than 5000, and stored them. 🙂

    It may or may not be intentional (maybe they are trying to let old news die and not be found easily), or, it may coincide with the amount of friends you’re allowed on Facebook, 5000.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about DealSpot. As the Facebook API Doc suggests, I want
I have a general question about the way that database indexing works, particularly in
I have a question about whether or not a specific way of applying of
I have a question about the proper, best way to manage the model. I
I have a question about list in tcl, what is the correct way to
this is a generic question about a facebook application creation. I want the user
I have a question regarding facebook graph api. I have database of users' facebook
I have a question about the way .replace() works I know that we can
I have a question about the correct way to handle errors in VBA in
I have a question about the best way to go about the following I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.