Check if user Likes Page with JS API?

500 Views Asked by At

I know this has been asked a bunch of times, but I have only seen serverside solutions.

I'm running an iframe app that is embedded into a page as a tab. I want be test to see if the page is liked or not without prompting the user for anything.

Is there a way to do this with just JavaScript? The platoform we are building on is ASPX and I dont really have the option of going serverside.

1

There are 1 best solutions below

1
On BEST ANSWER

Its not available because you need to inspect the http post parameter called signed_request and this isn't available on the client side. If the user has authenticated with your app and given you permissions to read their likes/interests, then you could then check with javascript api but I'm guessing you wouldn't want to make them approve your app just for this.