Jon Loomer Digital
For Advanced Facebook Marketers
  • Work With Me
    • Account Audit
    • One-on-One
    • Membership Info
    • Ad Briefs Library
    • Agencies
  • FREE
    • Meta Andromeda
    • Modern Targeting
    • Audience Segments
    • Cornerstone Tips
    • The Loop
  • Podcast
    • The Pubcast
    • Podcast Alerts
Search
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages

**STRATEGIC AUDIT** Hire Jon for a senior-level review of your problem account

Find Out More

How to Create a Facebook iFrame for your Business Page

November 8, 2011 by Jon Loomer - One Comment

Last updated: March 6, 2025

Share via:

  • Share
  • Post
  • Email
NOTE: This post may be outdated.

Any screenshots and details of functionality may no longer be relevant.

View the most recent posts in this category.

In prior tutorials, we’ve discussed the benefits and power of using Facebook iFrames. Now we’re going to get into the details of how you can create your own.

1. Create the Content

If you have a WordPress site, let me save you some trouble. Install the Facebook Tab Manager by David Carr. I wish I would have known this tool existed about four iFrames ago.

The following instructions will be directed towards those who use the plugin. However, I will also include notes for you if your site isn’t on WordPress.

After installing and activating the plugin, click on Facebook Tabs link on the left, then click on “Add New.” What you’ll see now looks an awful lot like what you’d see when creating a page or a post.

Facebook Tab Manager WordPress Plugin

What’s nice about this plugin is that you don’t need to worry about the 520 pixel width requirement (obviously, you still need to consider it for images, tables and format of the page), and it also removes the header/sidebars/footer and handles issues with scrollbars. If you’ve ever created an iFrame outside of this plugin, you’ll notice that horizontal and vertical scrollbars often appear when viewed on Facebook. They are a pain to eliminate.

Once you enter the content, you can provide css that is specific to this tab. There are also a series of check boxes that you should look at.

Depending on the iFrame, you may want to open links in a new window. The exception would be if all links point to pages that are formatted for the iFrame. Otherwise, you’ll end up with pages that have headers, footers, sidebars, etc. in the iFrame. You don’t want that.

I check the box to remove the title so that I can name it whatever I want in the iFrame itself, but that’s purely a preference.

When you’re done, go ahead and publish!

For Non-Wordpress Users:

First, you’ll need to create content without a header, footer or sidebars. Stripped down. Make sure it’s no more than 520 pixels wide, and try to keep under 800 pixels long. You’ll want to apply the following code in your stylesheet:

<style type="text/css">

body 
{
overflow: hidden;
}
</style>
<body onload="FB.Canvas.setSize({width: 520, height: 800})">
<Div id="fb-root"></div>

<Script arc="http://connect.facebook.net/en_US/all.ja#xfbml=1"></script>

<Script type="text/javascript">
FB.init({
appid: FB_APP_ID,Status: true,Cookie: true,Xfbml: true
});
window.fbAsyncInit = function().{
fb.canvas.setautoresize();
}
</Script>

2. Create an Application


This is a step that sounds much more intimidating than it is. You’re creating a Facebook application. You are a developer.

Say it to yourself again. Believe it. Live it.

Go to developers.facebook.com/apps and click on “Create New App” at the top. Type in the name of the app, as you want it to appear to users (can’t include any Facebook-trademarked terms) as well as the namespace. An example could be My iFrame for the name and myiframeloomer for the namespace. But use your own, those are just examples. Then check that you agree to the Facebook Platform Policies (assuming you do), and click “Continue.”

You’re almost done. At the bottom, click Page Tab and it will expand some boxes to complete. You really only need to worry about the top three in all likelihood.

Page Tab Name: [How you want the name to appear in the menu on your Facebook page]
Page Tab URL: [The URL of the page you created in the first step]
Secure Page Tab URL: [The secure URL of the page you created, starting with https]

Does your site have a secure SSL certificate? You need a secure URL for your app, there is no way around it. If you don’t use secure browsing on Facebook, you can view the iFrame without problem. But by default, users use secure browsing. In that case, they’ll get a big, fat error.

I’ve found one solution, though I can’t vouch for the legitimacy. It’s Social Server. They host a secure URL for you. I’ve used it a few times so far without issue.

Next click “Edit Icon” at the top to add the icon that will appear in the menu on your page. Make sure it’s square. Then Save and you’re done with the app!

3. Add the App


Now that you’ve created a Facebook application (Yes! You did!), it’s time to add it to your page. Open a new window. In that window, paste in the following URL…

https://www.facebook.com/apps/application.php?id=

…and then add your app id (found at the top of the last screen we were just on) and hit enter. Click “Add to My Page” on the left hand side and select your page.

That’s It!


Go to your page, and you’ll notice on the left hand side menu a new item. That’s your iFrame.

Congrats! You are a Facebook developer!

Share via:

  • Share
  • Post
  • Email
filed under: Marketing

Tags: Organic Facebook and Instagram

Ad Briefs Library

Ad Briefs Library
Jon Loomer

A LIVING reference to Meta Advertising

My current thinking on Meta ads, organized into 24 reference briefs and a full glossary. Updated monthly.

Learn More

Modern Targeting: Free Mini-Course

Modern Targeting: Free Mini-Course
Jon Loomer

Free mini-course about what changed, what still matters, and how to simplify your targeting for optimal performance in eight clear lessons.

Subscribe

PHC

Power Hitters Club
Jon Loomer

BOOST your Meta Advertising Skills

The PHC provides members with access to a private community of advertisers who have done what you’re trying to do, have worked in your industry, and who can pull from valuable experience.

Click here

Meta Andromeda: Free Mini-Course

Meta Andromeda: Free Mini-Course
Jon Loomer

A breakdown of Andromeda and step-by-step guidance of how to approach creative diversification in seven clear lessons.

Subscribe

One-on-One

One-on-One Training

Schedule one-on-one time with Jon to discuss your Facebook advertising struggles, obstacles, and strategies.

Click Here

Audience Segments: Free Mini-Course

Audience Segments: Free Mini-Course
Jon Loomer

Free mini-course about what Audience Segments are, how to set them up, and what they reveal about the way Meta distributes your budget.

Subscribe

Cornerstone Advertising Tips

Cornerstone Advertising Tips
Jon Loomer

Get a foundational Meta advertising tip (guides, tutorials, experiments, and case studies) delivered to your inbox every Monday.

Subscribe

Podcast Widget

The Pubcast with Jon Loomer

Meta advertising discussions in 5-10 minute “Shots.” New episodes are published every Tuesday and Thursday, including one dedicated to answering a listener question.

Listen Now

Subscribe to Jon's Blog

Feel like you're always one step behind? Subscribe to Jon's blog for regular Meta advertising tutorials, news, and case studies.

Subscribe

Connect with me:

Tools

  • Facebook Pixel Event Generator
  • Social Media Search Activity
  • Meta’s Earnings Reports
  • Privacy Policy

Services

  • Power Hitters Club
  • One-on-One Consulting
  • Agencies
  • Strategic Meta Ads Audit
  • Ad Briefs Library

Quick Links

  • About Me
  • The Pubcast
  • Blog
  • Where You Can Find Jon
  • Modern Targeting Mini-Course
  • Meta Andromeda Mini-Course
  • Cornerstone Advertising Tips
  • The Loop
Jon Loomer Digital
For Advanced Facebook Marketers
Email: [email protected]
© 2026 Jon Loomer Digital
Website by Glass Mountains
  • Work With Me
    ▼
    • Account Audit
    • One-on-One
    • Membership Info
    • Ad Briefs Library
    • Agencies
  • FREE
    ▼
    • Meta Andromeda
    • Modern Targeting
    • Audience Segments
    • Cornerstone Tips
    • The Loop
  • Podcast
    ▼
    • The Pubcast
    • Podcast Alerts
We use cookies to ensure that we give you the best experience on our website. Is that ok?