Hide certain content from non-fans
Author Tim @ The HyperArts Blog
If you want to show content to your fans, and require that a visitor to your Fan Page become a fan in order to view the content, here’s a nice bit of FBML to render content on your Facebook Fan Page only to fans. Easy as pie….
NOTE: It is easy to get confused about whether or not this working when you’re testing. Remember, if you’re an admin of the Fan Page you’re using this FBML in, and you’re logged in, you will see the content whether or not you’re actually a fan of the Page. People get confused about this and think the tags aren’t working.
ALSO NOTE: If you follow the below instructions and it’s not working, try removing the <fb:fbml version=”1.1″> </fb:fbml> tags. I don’t believe this is necessary now.
FINALLY: If you want to copy and paste my code, MAKE SURE you convert all quotes to plain-text (straight up and down) quotes! Otherwise, your code will not work!
Content for Fans Only
First, on your Static FBML page, begin with the following:
Wrap the content you want to hide from non-fans within these tags:
Then end your page with:
And that’s it! The content contained between <fb:visible-to-connection> and </fb:visible-to-connection> will be visible to fans only.
How to Show Different Content to Fans and non-Fans
Fans will see this content.
<fb:else>Non-fans will see this content.</fb:else>
Read Full Article with more details HERE
You might also like
n this guide, I’ll walk you through 10 of the most important laws for businesses when advertising on Facebook. These are laws that define how Facebook advertisements function and general
To connect your website to Facebook visit the new Insights page and follow this guide, this is a new area of Facebook that gives brand new statistics about Interaction on
Replace the area where it says “YOUR_PAGE_ID” with the Page ID you created in Step #1. Hit Update File after you make your changes. click to enlarge Step 3. Go
Plugins are all about convenience. So if you want a convenient way to track your facebook shares and likes and have access to the “backend pages” facebook automatically creates when
Yesterday Facebook launched Deals for Places, an add-on to Facebook Places which brings discounts and deals to Facebook users at businesses large and small. The Facebook Deals will be rolling