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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:24:29+00:00 2026-06-14T23:24:29+00:00

I have a canvas application that tries to check if user is a fan

  • 0

I have a canvas application that tries to check if user is a fan with this code:

$params = array(
 'method' => 'fql.query',
  'query' => "SELECT uid FROM page_fan WHERE page_id='MY_APP_ID' and uid = me()",
);

$result = $facebook->api($params);

The $result[0] is not set, and therefore is empty, even though I have liked the app.
Any suggestions?

thanks

  • 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-14T23:24:30+00:00Added an answer on June 14, 2026 at 11:24 pm

    It appears that there are two likely issues here –

    1. You have not requested the user_likes permission from your users. You will need this permission to access any data on a users “likes”.

      This permission is required no matter how you intend to retrieve the information, server side or client side, with or without an SDK.

    2. You have specified your application’s ID instead of a PAGE_ID in your FQL query. Users can not “like” an application in the same way that they can not “like” another user.

    You can create a page for your application from within it’s “App Details” page. You can navigate to https://developers.facebook.com/apps/APP_ID/appdetails and scroll down to the “contact info” section. There you will see a “Create Facebook Page” button.

    Once you have created an App Page, you’ll be able to use it’s PAGE_ID to let your users “like” it and then will be able to verify the like action from within your application.

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

Sidebar

Related Questions

I have a scroll viewer in my application that contains a canvas, in which
I have this: <Canvas x:Name=LayoutRoot KeyDown=LayoutRoot_KeyDown> </Canvas> In a newly-minted Ag 3 application in
I have this canvas mousedown event: $('#canvas').mousedown(function(e) { var coords = canvas.getMousePos(e); // user
I have a Facebook application that is loaded in the Canvas context of Facebook.
I have an application that makes use of a canvas that contains several WPF
I have a facebook canvas application that runs in an iframe. I would like
In my WPF application I have a Canvas in which I do some drawing.
On my application, I have a canvas which CSS size (CSS, not html) updates
I have an application which must save client instances of com.smartgwt.client.widgets.Canvas to a disk
I have a Flex 3.5 application that will serve multiple purposes, and as part

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.