Posted on 13 January, 2011 By 15 Comments

How to Restrict Content on a Custom Facebook Tab


Last year I wrote about how you could restrict content on a custom Facebook tab so that only people who had liked or become a fan of the page could view the content.

Content on a custom Facebook tab can also be restricted by age, location, content type, and the owner of a particular Facebook profile.



fb:18-plus – restricts content to users who are 18 or older

<fb:18-plus>18 or older<fb:else>Sesame Street</fb:else></fb:18-plus>

fb:21-plus – restricts to users who are 21 or older

<fb:21-plus>21 or older<fb:else>Sesame Street</fb:else></fb:21-plus>

Location, Age, and Type

fb:restricted-to – restrict by age, location, and type

age – an age range can be used or a +/- can be used after the age to designate that age or older/younger. For example:

<fb:restricted-to age=”17-”>Let’s talk about Twilight.
<fb:else>Cool, the kids are gone!</fb:else>

<fb:restricted-to age=”65+”>Let’s talk about retirement.
<fb:else>Cool, the seniors are gone!</fb:else>

<fb:restricted-to age=”18-35″>Let’s talk about our careers.
<fb:else>Content for everyone</fb:else>

location – Restrict the content to certain countries. The countries are specified in a comma separated list using the ISO 3166 alpha 2 code list.

<fb:restricted-to location=”aq”>Special content for Antarctica.
<fb:else>You’re not from Antartica</fb:else>

type – the only type that can currently be restricted is alcohol.

<fb:restricted-to location=”us” type=”alcohol”>Enjoy some wine.
<fb:else>Enjoy some water.</fb:else>

Content for Page Admin

fb:visible-to-owner – this restricts content so it can only be viewed by an Admin of the page.

Top secret plans for Facebook page admins

Would any of these be useful on your custom Facebook tab?

photo credit: Grahford - Free Yourself from Accounting

Keep Reading:
Posted In : Facebook

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list.

15 Responses to “How to Restrict Content on a Custom Facebook Tab”

Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge


Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • Property Marbella: Hi Kim, Good article with several good tips, my friend up in Sweden has clothing stores and online sales with little tr...
    • Kim Woodbridge: This post was written 2.5 years ago. At that time people wanted detailed instructions and asked me to write it. And wh...
    • Kim Woodbridge: Pretty much all themes have a page.php file. Are you using a child theme? If so, you will want to look for the
    • Mitch: That's why the internet has evolved into a worthless piece of "junk yard". Everybody is repeating the same thing over an...
    • Meredith: This is very straightforward info, and I think it will help, but I have one question. What if I don't have a page.php fi...

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice