Reference Guide

facebook FBML Reference Guide Page 41 of 159
Embedded media
Fb:iframe
Description
Inserts an <iframe> tag into the page.
Attributes
Required Name Type Description
required src
string
The URL of the iframe. Signed GET parameters are appended to the URL to
prove that the frame was loaded through Facebook, as described in the forms
section. These parameters also include one named fb_sig_in_iframe to indicate
this context.
optional smartsize
bool
This parameter smartly sizes the iframe to fit the remaining space on the page
and disables the outer scrollbars. If you include more than one smartsizing
iframe, they automatically distribute the size appropriately. (default value is
false)
frameborde
r
int
Indicates whether to show (1) or hide (0) an iframe border. (default value is 1)
scrolling
string
Indicates whether to show scrollbars. (default value is yes) - use "yes", "no", or
"auto" (not "true" or "false")
style
string
Indicates a custom inline style for the iframe.
width
int
Indicates the width of the IFRAME.
height
int
Indicates the height of the IFRAME.
Notes
You cannot use the <fb:iframe> code on the profile page.
You must use your server's URL as the src for your iframe. Otherwise, apps.facebook.com wraps your page
with the Facebook layout.
You cannot use FBML inside an iframe.
www.yapish.com