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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:57:13+00:00 2026-05-15T19:57:13+00:00

I need to retrieve the number of fans for a given Facebook application. Using

  • 0

I need to retrieve the number of fans for a given Facebook application. Using the GraffitiWall application example in the Facebook Graph API, that page displays a fan total numbering somewhere near 1.2 million. The Graph API, however, returns no fan_count:

{
 "id": "2439131959",
 "name": "Graffiti",
 "description": "Graffiti lets you draw on your friends' profiles.",
 "category": "Just For Fun",
 "link": "http://www.facebook.com/graffitiwall"
}

Are the likes on the graffitiwall application likes for the page or for the application? If for the page, how do I programmatically determine the page ID given the application ID? If for the application, how do I get that fan count? Do I need to be an admin for that application? Is this only available using Facebook Insights?

For the record, I’ve also tried specifying the application ID, but that also returns the above block. Using the application page URL, a shares value is returned:

{
 "id": "http://www.facebook.com/graffitiwall",
 "shares": 19
}

Perhaps I’m missing something in the API documentation or the Graph API forum, but I couldn’t find the answer in either location.

  • 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-15T19:57:14+00:00Added an answer on May 15, 2026 at 7:57 pm

    You can get number of fans by running FQL on page table:

    FB.Data.query("select fan_count from page where page_id = 2439131959");
    

    (fan_count is undocumented field btw, either it is deprecated or they just forgot to mention it in their docs which wouldn’t surprise me much)

    Not sure if you were asking about likes as well, but just in case here is an example how to get number of likes by url:

    FB.Data.query('select like_count from link_stat where url="http://www.facebook.com/graffitiwall"');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a quiz application and I need to retrieve n number
i need to retrieve the page title from an URL i already have using
For my application I need to retrieve the number of followers of a list
I need to retrieve all items from two lists that contains a given value.
I need to retrieve the name of the stored procedure that a crystal report
I need to retrieve a set of TOP n number of rows from a
I need to retrieve records that match IDs stored in a list. The query,
I need to retrieve the number of hours past midnight from a UIDatePicker control
I need to retrieve the player number, name, street and town for all players
I need to retrieve the number of rows in my qrec_id in my table

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.