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 8558483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:49:19+00:00 2026-06-11T15:49:19+00:00

I am wondering if this is a Facebook bug or something that I am

  • 0

I am wondering if this is a Facebook bug or something that I am doing wrong. Anyways, I am developing a server application that talks to my own simple Facebook app via Graph API calls. For development purposes, the only users of the Facebook app are a few Test Users that I have defined. In this scenario, I have one test user “Lisa Mills” and I want to return a list of her friends. Her only friend is “John Smith”. I use the Graph API HTTPS call for retreiving her list of friends, like so (links probably won’t work anymore, but they are posted here for illustrative purposes):

https://graph.facebook.com/100004330990794/friends?access_token=AAAGGG3niQkQBAPne8jGOcfZAUZCiqbgDMAPV0QlA5GMGorFdEZCOBAX3daZAOkcWmenyfFwYzuBCxrE2gEOXaZAa7tJptZBE826vvHdw7JtCZB0If9mJ041

The resulting data:

{
   "data": [
      {
         "name": "John Smith",
         "id": "100004375356845"
      }
   ],
   "paging": {
      "next": "https://graph.facebook.com/100004330990794/friends?access_token=AAAGGG3niQkQBAPne8jGOcfZAUZCiqbgDMAPV0QlA5GMGorFdEZCOBAX3daZAOkcWmenyfFwYzuBCxrE2gEOXaZAa7tJptZBE826vvHdw7JtCZB0If9mJ041&limit=5000&offset=5000&__after_id=100004375356845"
   }
}

What is puzzling is why the JSON response contains a “next page” value because Lisa is not going to have any other friends to return. Anyways, if I go to the URI specified in the JSON, I receive this response:

{
   "data": [
   ],
   "paging": {
      "previous": "https://graph.facebook.com/100004330990794/friends?limit=5000&offset=0&access_token=AAAGGG3niQkQBAPne8jGOcfZAUZCiqbgDMAPV0QlA5GMGorFdEZCOBAX3daZAOkcWmenyfFwYzuBCxrE2gEOXaZAa7tJptZBE826vvHdw7JtCZB0If9mJ041"
   }
}

Of course…no data is returned. I would naturally presume that this “next page” should only have additional data if Lisa had over 5000 friends. Is this a bug in Facebook’s Graph API, or is this a normal situation that my server application needs to handle without error?

  • 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-11T15:49:20+00:00Added an answer on June 11, 2026 at 3:49 pm

    I would naturally presume that this “next page” should only have additional data if Lisa had over 5000 friends. Is this a bug in Facebook’s Graph API, or is this a normal situation that my server application needs to handle without error?

    In a recent developer blog entry, Facebook said they had “fixed” this for some parts of the API:

    “For selected edges, we’ve introduced cursor-based offset paging. This improvement definitively indicates when you’ve reached the end or beginning of a data set. We’ll no longer show the ‘previous’ or ‘next’ paging links when there’s no new data. This translates to faster request processing times, saving you one round-trip every time you page through an entire collection. We’re working on adding support for more edges.”

    Looks like the /user/friends connection is not one of those “selected edges” yet …

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

Sidebar

Related Questions

I'm wondering about this: I have a simple facebook-connect app that will only show
I'm developing this Facebook Application and I was wondering if it's possible (and how)
I am thinking about developing a fairly simple facebook application which i have modelled
this funny thing called FBML http://developers.facebook.com/docs/reference/fbml/ I'm just wondering is it true that any
I'm wondering how sites like Facebook, and I'm assuming Pinterest does this too (I
i was wondering whether i can incorporate wordpress blog into a facebook application so
I was wondering if it was possible to create/edit a facebook application with the
i'm wondering if it's possible to build a facebook app that runs as a
I came across this Facebook page in which it has a video that you
Ive seen this on a lot of facebook sites. I was wondering how to

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.