I think I\'m going crazy. I can\'t get it to work.
I simply want to check if a user has liked my page with javascript in an iFrame
app.
FB.a
You can do it in JavaScript like so (Building off of @dwarfy's response to a similar question):
YOU DON'T LIKE ME :(
YOU LIKE ME :)
Where the channel.html file on your server just contains the line:
There is a little code duplication in there, but you get the idea. This will pop up a login dialog the first time the user visits the page (which isn't exactly ideal, but works). On subsequent visits nothing should pop up though.