How to Use an iFrame in a Facebook Fan Page
Facebook offers website owners the ability to use "social plugins" to encourage visitors to become fans of their site's Facebook page. Generate an "iFrame" code and insert a Facebook "Like" box into your Web page to encourage users to "Like" your Facebook fan page, which subscribes them to updates you send out via the page.
Instructions
-
-
1
Sign in to Facebook. Enter the name of the page you want to promote with the "Like" box into the Search field, then click the page when it drops down in the menu. Click inside your browser's address bar, then right-click and click "Copy" to copy the page's URL to your computer's clipboard.
-
2
Scroll down to the bottom of the page and click "Developers." Click "Add Facebook to My Site," then "Core Concepts," then "Social Plugins." Click "Like Box."
-
-
3
Double-click inside the field that appears under "Facebook Page URL," right-click and click "Paste" to paste your page's URL in. Enter a desired width, select a "light" or "dark" color scheme and click "Get Code." Double-click inside the "iFrame" field, right-click and click "Copy" to copy the code.
-
4
Click the name of the HTML or PHP file of the page into which you want to insert the "Like" box, then click "Edit File." Click your mouse within the line of the page where you want to insert the "Like" box, then right-click and click "Paste" to paste the code in. Save the HTML or PHP file and view the page to make sure the "Like" box is functional and appears as you like it.
-
1