Possible Duplicate:
How to check IF user has ALREADY liked the facebook page?
If a facebook user is a fan of our page, rather than displaying the "like" button on our website, we want it to show a "thanks" message.
On here: https://developers.facebook.com/docs/reference/fbml/visible-to-connection/ it seems "visible to connection" is the proper way to do this, however, this is only for fb apps? How can I do this to:
Include a like on the page
IF user is already fan, display other text instead?
Thanks