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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:02:08+00:00 2026-05-16T14:02:08+00:00

it is incredibly easy to hide content from someone who does not like your

  • 0

it is incredibly easy to hide content from someone who does not like your application…if you’re using FBML. I’m using an iFrame and the JavaScript SDK, and am having terrible difficulty figuring this out.

The behavior I’m seeing (both logged in and out) is that does not seem to be supported by FB.XFBML.parse(). Am I mistaken or is there an alternative method I can use that does not require the user to give explicit permission?

  • 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-16T14:02:09+00:00Added an answer on May 16, 2026 at 2:02 pm

    Finally figured it out!

    After you have initialized the api (using FB.init()) simply do the following:

    FB.api('/mypage', function (response) {
        FB.api({ method: 'pages.isFan', page_id: response.id },
            function (response) {
                alert(response);
            });
    });
    

    When the ‘/mypage’ response comes back, it has the page id of the profile. Use that in the pages.isFan call and it will return a boolean object telling you if the current user has Liked that page or not.

    No need to deal with authentication, extended permissions, or any FQL.

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

Sidebar

Related Questions

Sorry if this question is incredibly easy to answer, or I sound like an
I'd like some help with something please. Theres probably some incredibly easy solution to
Incredibly synchronous requests sometimes does not work in certain contexts. Has anyone experienced this
I think i'm going crazy, as this seems like an incredibly easy issue to
Quick and probably incredibly easy question; $str=<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
The using construct looks incredibly handy for situations that require both beginning and separated
I must admit that I am incredibly jealous of those developers who happen to
So lets say I have an incredibly nested iterable of lists/dictionaries. I would like
Apologies if this is incredibly easy but I want to be able to do
I'm incredibly new to JQuery and Javascript in general. I'm using the Infinite Scroll

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.