| FBML has been deprecated. Starting June 1, 2012 FBML apps will no longer work as all FBML endpoints will be removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our JavaScript SDK and Social Plugins to embedded many of the same social features available in FBML. |
Renders the FBML on a Facebook server inside an IFrame. You must use this tag to render elements on Facebook like fb:request-form for friend selectors. The tags that don't need to be used with fb:serverFbml are listed on FB.XFBML.parse.
This container tag holds display/FBML elements that must be served in a Facebook IFrame for security reasons. For instance, the fb:request-form tag must be wrapped inside this tag in order to work on a Facebook website, since we need to be able to verify that the user performed the actions on the form.
<fb:serverFbml style="width: 755px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="<URL for post invite action, see fb:request-form docs for details>"
method="POST"
invite="true"
type="XFBML"
content="This is a test invitation from XFBML test app
<fb:req-choice url="see fb:req-choice docs for details."
label="Ignore the Facebook test app!" />
">
</fb:request-form>
<fb:multi-friend-selector
showborder="false"
actiontext="Invite your friends to use Facebook." />
</fb:fbml>
</script>
</fb:serverFbml>