How to Easily Add an iFrame Reveal Tab to Your Facebook Page – no PHP required!

Facebook Reveal Tab Like Gate

Updated February 27th, 2013 with the latest instructions!

What is a reveal-tab?

A reveal tab is a custom tab on your Facebook page in which you can like-gate your content. This means that your fans — people who have already liked your page — will be the only ones able to see the content on your tab. Everyone else — people who haven’t yet liked you page — will see something different, such as a message letting them know that they need to “like” your page in order to get that exclusive, fan-only content. A reveal tab is a great way to get more likes on your Facebook page.

An example of a Facebook reveal-tab

You can go to U Stand Out’s Facebook page to see my Facebook reveal-tab in action. 

Here is the pre-like version of the reveal-tab, which encourages viewers to “like” the page to access an exclusive download.

Facebook reveal tab pre-like

Your default, pre-like content should be something that encourages users to like your Facebook page, possibly by using something like an incentive, discount, or exclusive content.

Once visitors “like” the page, the image will change to unlock the form:

Facebook reveal-tab post like

Your reveal content should provide your new fans with whatever you were offering, such as something to download, a discount code, or a link to the exclusive content. You might also want to thank people for liking your page. You don’t need to have a form — you can place the exclusive content directly on this page itself if you’d like. Or you can include a button instead of a form to direct people to your website. It’s up to you!

How to create a reveal tab on your own Facebook page

If you try to code an iFrame tab from scratch, it requires the knowledge of coding and PHP. I’m assuming most marketers don’t know PHP, and many of those that don’t also don’t have the resources to hire someone to do it for them. Thanks to Facebook applications like Static HTML, it’s easy to create a reveal tab. Here’s how to EASILY add an iFrame reveal tab to your Facebook page, without knowing much code:

Go to the Static HTML Application, and click Add Static HTML to a Page.

static HTML facebook application reveal tab

Select your page from the drop-down menu and click Add Static HTML: iframe tabs.

choose your facebook page

Head over to your Facebook page, and click on the Welcome tab on the top of the screen.

navigate to welcome tab

Next, you’ll want to add a simple HTML editor, which allows you to create static HTML content. Click Use this app under HTML

static html app

Here you will be able to edit the pre-like and post-like pages of this custom tab. First, you need to enter your post-like content. You can use HTML/CSS in these text fields. For example, if you’re using an image that links back to your website, include the following code:

<a href="http://yoursite.com"><img src="http://yoursite.com/image/file.jpg"></a>

html code on Facebook page

Then click Fangate to edit the pre-like version of your reveal tab. Then click the checkbox next to Enable fangate, and click use and app instead.

create a fan gate

On the next page, select the HTML app. Then Enter your pre-like HTML. If you’re just including an image here encouraging viewers to “like” your page, you can use the following simple code:

<img src-"http://yoursite.com/image/file.jpg">

code on static html app

Errors you might see in the Static HTML app

If you see the error message for Broken URLs, you may have to delete and re-add the quotation marks in your HTML code to fix the error.

static html error

If you see the error message for Insecure URLs, you can simply ignore that error message.

If you’d like to learn how to customize the reveal-tab image for your Welcome tab, you can read the step-by-step instructions here.

navigate to welcome tab

How to promote your reveal tab

In early 2012, Facebook took away the ability for you to make your reveal tab your default landing page unless you’re running an ad through their advertising platform. Instead, any new visitors to your page will see your main timeline page by default, and your updates there are visible to everyone — fan or not. This means you need to get a little creative regarding how you get visitors over to your like-gate tab. You can learn how to promote your reveal tab here; this article includes how to:

  • Strategically name your app tabs and prioritize the order
  • Pin a story promoting your reveal tab to the top of your timeline
  • Link directly to your reveal tab from your website, like this
email

For a complete, step-by-step walkthrough on how to create and optimize your Facebook page, download the eBook Stand Out on Facebook.

In this eBook, you’ll learn how to:

  • Create a beautiful Fan Page that looks sleek and professional
  • Get more likes with a like-gated content offer strategy
  • Develop and maintain a Facebook fan engagement strategy
  • Build a content schedule to keep fans coming back for more

 

Diana Urban is the founder of U Stand Out, a guide for making your web presence stand out using internet marketing, blogging, and social media tactics. She is the Head of Prospect Marketing at HubSpot, an inbound marketing software company in Boston. Tweet with @DianaUrban or like her Facebook page to stay connected!

Leave a Comment

  • Peter Renton March 8, 2011 at 11:43 pm

    This is super helpful. I want to start a custom Fan page but I didn’t want to use FBML. I am saving these tips for when I tackle this later in the month.

    Reply
  • Femi March 10, 2011 at 7:18 pm

    This is a great article Diana. I can tell you know your stuff when it comes to Facebook Fanpages. I found this when I searched on google for keyword “reveal tabs wordpress” Thank you so much!

    Reply
  • Terrence Askew March 13, 2011 at 4:05 pm

    Thank you Diana! It was very simple and now my new FB landing page is live..

    Reply
  • Matt March 15, 2011 at 7:37 am

    Hey great post! I’ve been looking for this kind of thing. Can you make the Wall the revealed tab after the Like?

    Matt

    Reply
  • Jimmy_mino March 21, 2011 at 6:48 pm

    For some reason neither of the sites are working for me. I went to both links… added both apps to my pages, but i dont see either the “welcome” tab for the Static HTML app or the “MyTab” tab for the second app… any help… please?

    Reply
  • Whitney Ward March 24, 2011 at 5:43 pm

    Can you embed flash or video using My Tab?

    Reply
  • Hendrik March 27, 2011 at 5:49 pm

    Hi,

    You might want to look at “iFrameWrapper” to. It even provides multilingual support and is even easier to use as well.

    Reply
  • Kaz April 12, 2011 at 4:07 pm

    Hi there, this is really good. Can you tell me though, how to put in an optin form NEXT to a video? So far, I can only put the form down below the video. Thanks

    Reply
  • Jmiller April 18, 2011 at 7:28 pm

    Does the Star Logo always have to stay on the app logo or can I use a clients at all?

    Reply
  • Christy May 2, 2011 at 10:45 am

    my pages are not showing up?

    Reply
  • Fb Iframes May 6, 2011 at 2:33 pm

    This is a great description for an FB user. But Facebook has launched new iframes and I think that don’t allow to create static FBML tabs…is there a way to create them?

    Reply
  • Dom May 13, 2011 at 7:09 am

    AWESOME! Thank you!

    Reply
  • Sandra Newton June 23, 2011 at 5:00 am

    Ah…what a nice, easy to follow post – with options even!.  Done my first option one, now to try option two……

    Reply
  • Leontine June 24, 2011 at 4:54 pm

    What if I want my fans who have already seen the reveal tab and clicked on the Like button to go to my wall? How do I do that?

    Reply
  • romil June 28, 2011 at 6:04 am

    awesome explanation…… thnks

    Reply
  • Josh Fialkoff June 29, 2011 at 2:36 pm

    Hi Diana,
    This is great! Can you please explain how to get Facebook to only show the “Like” page to people who have NOT already liked the page?
    So, once a user has Liked the page, the next time they to the page, they are sent to a separate landing page.
    Thanks,Josh

    Reply
  • Sandeep July 4, 2011 at 2:58 pm

    Very nice information, you save my money by hiring someone to do this iframe.

    Reply
  • Jen July 8, 2011 at 6:14 pm

    Hi Diana, I’m hoping you can help me out…So after they click on the “like” button, it should take them to the next page where they can get the free stuff, right?

    What if they already “like” you and they go back to your page? How can I make them go to a different default page instead of the offering/free stuff page? Please help! Thank you much!!!!

    Reply
    • Diana Urban January 3, 2012 at 9:12 pm

      That’s not possible… once someone likes your page, they will always be send to your Wall tab. They would have to unlike your page… and you don’t want that! I’d recommend sending periodic updates with the new “exclusive” promos for your Facebook fans. Just don’t spam them, and make sure you emphasize that it’s an exclusive promotion… just for fans! :-)

      Reply
  • Mark Media July 15, 2011 at 8:13 am

    Hi,

    thx for the information. It works great.
    Just one question. Is it possible to customize the little pictures left of the tab just like the ‘wall, info and photos’ tabs?

    Reply
  • D.Y July 18, 2011 at 6:27 am

    Hihi, Your passage is so useful and could I ask a question? As I found that the “apps” listed inside “edit page” were disappeared and so I even can’t access the “edit setting” for each app. As seems I couldn’t get help from anywhere and hope that you could give me some good advises. Thanks a lot!

    Reply
  • free dating sites July 25, 2011 at 10:20 am

    Lovely post.. I have I read you post with lot of interest and like most.

    Reply
  • Dave Baldwin August 2, 2011 at 7:38 pm

    Extremely helpful. Thanks for putting this together! Facebook has really done a great job of taking the rocket science out of page design & code integration.

    Reply
  • S-lp August 4, 2011 at 9:55 pm

    I see that the content being added to the before and after part of the tab is simply an image you have hosted on your server. Are there sizing limits on this?  Thanks for sharing this info, it was very helpful!

    Reply
  • Mary A August 9, 2011 at 8:21 pm

    Great article.  Thank you!

    Reply
  • Stacy Gilliland Flores August 11, 2011 at 7:12 am

    Hi, 
    I have a question, though. I was using the static html function to create my pages. I created them about a month or so ago and they worked fine. A visitor clicked like and then they received the message-something along the lines of thanks for liking my page and click here for your download. I just noticed yesterday that this no longer works and I am puzzled as to why. It works when I experiment as admin of the page, but not when a visitor visits the page. Instead they see the non fan content-which is to like the page image, but after liking the page instead of remaining on the page like they did in the past and receiving the message of thanks and the capability of being able to click for the download they end up on the main wall after liking the page. I did tests from several accounts on several pages, not just my own and this is the case in all instances. I even clicked on your example above for your ustandout page and the same thing happens. Once I clicked like I was taken to the wall instead of the download and thank you. Do you have any idea why this is occurring and how to fix it? Most people that I have spoken to are not even aware that it is happening. 
    Thanks

    Reply
    • Diana Freedman August 12, 2011 at 6:49 pm

      Hi Stacy,

      You’re not the only one seeing this issue. Here’s the word from the developers of the Static HTML application:

      “It is most likely a facebook glitch, as facebook only allows facebook final control in handling fangate redirect after liking. Facebook also rolls new code out every Tuesday, so this may be an unintended bug that should be fixed shortly.

      Please let us know if this problem continues to persist.”

      You can follow the discussion here: http://www.facebook.com/topic.php?uid=190322544333196&topic=9069

      Reply
  • Engr Hasnainaslam August 13, 2011 at 5:54 am

    i add the image in default contents but it don’t get display by page…plz help me ..

    Reply
  • The SEO guy August 25, 2011 at 11:48 pm

    Wow, I was just looking for this. I tried to do it search the FB knowledge base. But this is the simplest way. Thx.

    Reply
  • Dave August 30, 2011 at 3:37 am

    Thanks!!… this helped me… but one more thing i dont get the “Google Analytics” thingy…

    Reply
  • Dave August 30, 2011 at 3:45 am

    I don’t actually get the google analytics thing?…

    Reply
  • Manishkr Net September 14, 2011 at 12:56 pm

    Thanks a lot :) i was needy of these things

    Reply
  • Zonkabe September 21, 2011 at 11:36 pm

    Very helpful! thanks!
    can i add hyperlinks to my welcome page? 

    Reply
  • Magnd September 27, 2011 at 12:01 pm

    I just followed this step-by-step guide and at the end i have a wonderful fanpage; working as i like. All thanks to you.

    Reply
  • Simonjgd September 27, 2011 at 11:58 pm

    Great info! Thanks!!

    Reply
  • MissBecka October 17, 2011 at 2:05 am

    You are a genius Diana, if you only knew how many articles and days I spent trying to figure this out before I ran into your article, and I was done in 3 minutes – thank you! 

    Reply
  • Facebooker November 10, 2011 at 3:12 pm

    I’m looking for a plugin like this where I can actually use the html tag. MyFrame seemed like it was going to be perfect all the way until I got to the end and entered my html. The iframe tags were stripped when I pressed save.

    This is the 3rd app I tried, and none of them told me what I was getting until I installed them and started the trial and error. Seems scammy–especially the one named “iFrame App” – what?! no iframes in the iFrame App?!–but to be fair, at least that one had a disclaimer listing tags that weren’t supported. I removed all three afterward, but I’m betting they still gather information from my account since I had to agree to let their app do so in order to install it.

    Reply
  • AllstarkiaSB November 23, 2011 at 7:51 pm

    This is super awesome and is going to prevent me from spending money on someone to do it for me!

    Reply
  • Nahid99e November 24, 2011 at 10:03 pm

    I was searching since 5 days for this information. Finally I got them in here… thanks diana.

    Reply
  • Derek Tan December 5, 2011 at 7:42 am

    how can i change the logo on the page tab? 

    Reply
  • Steve December 10, 2011 at 10:54 pm

    Thanks Diana! That was VERY easy… I spent more time tweaking my code than I did with the initial page set up.

    Reply
  • Rodnee December 27, 2011 at 10:53 pm

    Hi. Thanks so much for this tutorial. I seem to be stuck on option 1, Step 2 (embarrassed face). When i type in my img scr info the url shows up in red and I see that yours is green. I even tried your link and nothing shows up for me in the preview. Do i need to have a certain amoun of friends? This is what I entered:

     Please advise. Thanks.

    Reply
  • Gpensinger January 26, 2012 at 3:25 pm

    what if I don’t even know how to upload the image to the server and write the code? Up S-Creek? 

    Reply
    • Diana Urban February 27, 2013 at 10:10 am

      You could use a service like DropBox to host public images as well. My ebook Stand Out on Facebook provides a complete walkthrough for this: http://updates.ustandout.com/stand-out-on-facebook-ebook

      Reply
  • santoshsarma March 16, 2012 at 2:14 am

    Thank you so much. Very useful post.

    Reply
  • Roman March 27, 2012 at 10:25 am

    Great tutorial! Thank you, Diana!

    It would be very nice, if you could answer my question:

    In my FB news feed, for a while, I don’t see the pages my friends like. As I know I’m not the only one who doesn’t. So the question is following – do FB users still see in their news feed the pages, which their friends just liked?

    Thanks!

    Reply
    • Diana Urban March 28, 2012 at 10:30 am

      Hi Roman,

      So there are actually two newsfeeds on your Facebook homepage. One is the main feed that has all your friends’ status updates, shared photos, liked links on the web, etc. Then there’s a mini newsfeed on the upper-right hand side of your screen. That’s the newsfeed that shows when one of your friends has liked a fan page, friended someone else on Facebook, etc. If you hover over the mini newsfeed story, it will expand the story. And you’re right, it looks like this type of activity is no longer visible in the main newsfeed. But one thing you can do is to create great content on your fan page that users would want to “share” on their own newsfeeds.

      Make sense?

      Thanks,
      Diana

      Reply
  • Norgene May 26, 2012 at 9:02 pm

    Hey great article! I have a question. How can you put 2 tabs of Static HTML iFrame in 1 Facebook Page? Thanks!

    Reply
  • Neilo July 26, 2012 at 12:24 pm

    Hi Diana,

    Thanks for the tutorial. Got my fan page to work fine on most browsers, but the images dont appear instantly in IE. If you right click the “Like” button they appear, so they are there but there is a fault somewhere. I know most sane people avoid IE, but there are some still who use it and so this needs to be functioning for a fan page. Do you know where I’m going wrong or a fix for this problem?

    Reply
  • Helen September 5, 2012 at 9:13 pm

    Hi…good article. But, I found a problem, and checked just about everywhere for an answer. So, far, no solution. Maybe you can answer it.

    I can see my fanpage on my original FB. I can go to my Fanpage. Then, I can see my welcome tab. Everything works great.

    But, when I use the mobile phones to test, I can’t find my welcome tab at all.

    Do you know why?

    Thanks.

    Reply
    • Diana Urban February 27, 2013 at 10:08 am

      Hi Helen. This is a limitation of Facebook’s mobile apps — they do not show custom tabs. Fans on mobile devices would need to access the desktop version of Facebook on Safari or another browser they have installed to see the custom tabs.

      Reply
  • Omila October 11, 2012 at 11:58 pm

    Wow! Just what I wanted, thank you very much

    Reply
  • sunil January 12, 2013 at 1:12 am

    Mindblowing solutions
    i have lot of tried to find this solution ,before it i am using static fbml which is closed so i want to move it in new static html page

    Thanks lot

    Reply
  • facebook friends January 15, 2013 at 7:07 am

    Hello, constantly i used to check blog posts here early in the break of day,
    since i love to gain knowledge of more and more.

    Reply
  • LunarMoth February 14, 2013 at 12:59 am

    Hi there. 
     
    I believe I set this up correctly, but it seems that the images/links dont show up properly.  When people go to the page, and click on the tab, the initial image either doen’t appear, or appears after a long delay.  Same thing happens after they “like” the page.
     
    At first I thought it was becasue the images where not on secure servers, but I changed that and it still isn’t working correctly.
     
    Any suggestions?

    Reply
    • Diana Urban February 14, 2013 at 8:47 am

      @LunarMoth Can you provide a link to this Facebook custom tab? It could be that the image file size is too big — you might want to use a free image optimizer like http://www.smushit.com/ysmush.it/ to make the file size smaller. But without seeing the page it’s hard for me to know.

      Reply
      • LunarMoth February 14, 2013 at 9:11 am

        Hi Diana.  Thanks for getting back so quickly! 
         
        The tab is here: http://www.facebook.com/themarriagecoin
         
        The image size is under 50k for each of the two images.  Would they need to be smaller than that?
         
        Thanks!

      • Diana Urban February 14, 2013 at 9:37 am

        @LunarMoth The image showed up for me immediately, pre and post-like. Are you sure it’s not your internet connection? If not, I see that you’re hosting the image at e-junkie. Do you have your own website with its own server you can use to host the image instead?

      • LunarMoth February 14, 2013 at 10:05 am

        @Diana Urban Yeah, I’m sure its not the connection as I have had a few people in different parts of the country test it for me.  They have all said that they get either nothing or a long delay before it shows up.
         
        I do have my own website, but its not an https: server.  I used the e-junkie secure hosting so that people dont get that pesky warning…..

      • Diana Urban February 14, 2013 at 10:26 am

        @LunarMoth I didn’t see a delay at all, and I tested a couple times. I don’t use a secure server for my images, but a warning doesn’t come up for visitors (at least, not that I’ve heard of): http://www.facebook.com/UStandOut/app_190322544333196

      • LunarMoth February 14, 2013 at 10:29 am

        @Diana Urban Hmmmmm
        I get a warning on mine when I use my own server, and I do get one on yours as well.

5 Facebook page resources that can help you get more likes.
Facebook Page Content Schedule Plan out your content strategy for your Facebook page and set daily tasks.
Profile Photo Template Can’t get your thumbnail image quite right? This template will make sure your profile photo is the right size.
Facebook Checklist Create a stand-out Facebook page in just 4 weeks by following this checklist.


  • Exclusive promotions for the latest eBooks, including discount codes and sneak peeks.
  • Free regular advice on internet marketing and social media tactics.
  • …and much more.

Free Download Here