How to tell if a user is a fan of the fan page

Magpie picture Magpie · Mar 1, 2010 · Viewed 12.3k times · Source

I'm working on a FBML fan page for a client. I need to perform a check to see if the current user is a fan of the page. I tried using the JavaScript API but I've found this is not compatible with FBML.

I have looked through the FBML page on the developer wiki and found checks for practically everything else but no is user fan check.

Any pointers in the right direction would be most appreciated.

Thanks in advance.

Answer

Iolo picture Iolo · Mar 24, 2010

Try this instead:

https://developers.facebook.com/docs/reference/fbml/visible-to-connection/

Please don't make those "Become a fan 1st" pages with it though. They're basically spam.