Facebook Fans Only Content

Took me a while to find information on how to show content on a Facebook Fan Page visible only to fans.
In a static tab you can use:

<fb:fbml version="1.1">
<fb:visible-to-connection>
Fan only content...
</fb:visible-to-connection>
</fb:fbml>

Or in a facebook application:
[ad]

<?php if($_REQUEST['fb_sig_is_fan']==1): ?>
Fan only content...
<?php endif; ?>
  • Brent

    the site I’m working on has it’s own facebook page already that has tons of fans, they want me to show content on the website if the user is a fan of their page (which isn’t an application) is this even possible. Something like: if is a fan of ‘xxxxx’ account then show content…