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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:05:31+00:00 2026-05-25T00:05:31+00:00

According to the Facebook Graph API documentation , the fields param acts as a

  • 0

According to the Facebook Graph API documentation, the fields param acts as a result mask:

By default, most object properties are returned when you make a query.
You can choose the fields (or connections) you want returned with the
“fields” query parameter.

Indeed, this works fine for most fields. For instance, /7354446700?fields=name,picture returns:

{
  "name": "Grooveshark", 
  "id": "7354446700", 
  "type": "page", 
  "picture": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/203560_7354446700_6819703_q.jpg"
}

However, for some reason, as soon as the likes field is added to the fields list, things break down. For instance, /7354446700?fields=name,picture,likes returns:

{
  "name": "Grooveshark", 
  "id": "7354446700", 
  "type": "page", 
  "picture": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/203560_7354446700_6819703_q.jpg", 
  "likes": {
    "data": [
    ]
  }
}

Even more strange, if I omit the other two fields (name and pictures), sending only likes, I get

{
  "likes": {
    "data": [
    ]
  }
}

The reason I find this extra-strange is because the “mandatory” fields (id and type) which should be added to every response are not included here (although they were included when fields=name,picture,likes).

What appears to be happening is that the field=likes parameter appears to be misinterpreted as a Connections request rather than simply a field mask, hence the data segment that normally appears when you’d call /7354446700/likes.

Is there a good reason for this? Is there any other way to get the likes field without fetching the entire object? I can’t imagine this would be expected behavior, so I assume it is a bug, but I thought I’d ask here first before filing one.

  • 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-05-25T00:05:31+00:00Added an answer on May 25, 2026 at 12:05 am

    This indeed appears to be a bug; I’ve checked internally and there’s an as yet unresolved task open to fix this issue which was reported to us in our bug tracker previously.

    In the meantime, the default return value for a page will include the ‘likes’ field even if it cant be retrieved solely.

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

Sidebar

Related Questions

According to the Facebook API documentation, most of the work is handled through javascript.
According to Facebook graph API we can request a user profile picture with this
This is a noob question. According to Facebook API documentation, the sex field in
I'm trying to familiarize myself with Facebook's new Graph API and so far I
I am using graph api to retrieve my friend list. https://graph.facebook.com/me/friends?access_token= I noticed it
According to the Facebook Documentation all I have to do is add a picture
I'm trying to use the Facebook Graph API to get the latest status from
According to the documentation, they're pretty much interchangeable. Is there a stylistic reason to
According to this article Silverlight 2 Beta 2 supports the DataContractJsonSerializer object. But, when
According to the feedparser documentation , I can turn an RSS feed into a

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.