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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:23:13+00:00 2026-05-30T16:23:13+00:00

I need to check if a user (visitor) liked my Facebook page ( a

  • 0

I need to check if a user (visitor) liked my Facebook page ( a page created in Facebook) when he is visiting my site. so as a example if he liked my Facebook page I show him some content. otherwise I show him “please liked”

I tried may methods on the net but not worked any. Please if anyone provide me full code, that will be great

Ps: Please this is NOT ( http://www.facebook.com/HotelGuru.sk?sk=app_233066690095330 ) What I’m asking is user must be on my site and the Facebook page need to check (whether user liked or not)


Also if someone know please tell me how I get page id (fb), because it already a name. I tried viewing html of send button to get the page code. but I’m not sure what I have is actual page code or not.

  • 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-30T16:23:14+00:00Added an answer on May 30, 2026 at 4:23 pm

    The easierst way to achieve it is to ask for user_likes permission and then check against your page id.

    On getting the pageid you can see it with:
    http://graph.facebook.com/HotelGuru.sk

    Update:
    To check if user has liked a specific page you can use this query:

    https://graph.facebook.com/me/fql?q=SELECT+uid+FROM+page_fan+WHERE+uid=me()+AND+page_id=YOUR_PAGE_ID&access_token=VALID_ACCESS_TOKEN

    You will still need basic permissions.

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

Sidebar

Related Questions

Is it possible for canvas to check if user has liked a certain page
I need to check user input from an EditText against the pattern described before
in the project I'm creating I need to check if the user is logged
I have a web application inside where i need to check whether the user
My point is this. For test i need when user check chk1 the chk2
I need to check the web address, using regular expression. If user type URL
In my C# application, I need to check if the current user is a
I need to check for a condition on each page I visit on the
I need to check some settings for all users on Windows clients in the
I need to check if a link (a-tag) is the only content (not just

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.