Professional Documents
Culture Documents
FACEBOOK MARKUP LANGUAGE
Renders the contained content only Displays the enclosed content only if the Creates a form that sends requests to Renders a standard Facebook title Use this tag to display the content This tag renders a block of FBML into an Renders a horizontal line separator in
FBML when viewed on the mobile website
(http://m.facebook.com).
specified user is friends with the logged
in user.
the selected users.
fb:request‐form‐submit
header.
fb:header‐title
inside the tag on a user's profile only if
the viewer is a friend of that user.
FBML block variable instead of
rendering it on the page.
the column containing the form
elements.
fb:prompt‐permission
Renders the content of the tag as a link
that, when clicked, initiates a dialog
fb:multi‐friend‐input fb:if‐is‐group‐member Creates a button that submits an Specifies the header title for a fb:visible‐to‐owner fb:page‐admin‐edit‐header fb:editor‐month requesting the specified extended
28‐5‐2010 Renders a multi‐friend form entry field Displays the enclosed content only if the fb:request‐form. fb:mediaheader. Displays content inside only if the For apps that can be added to Facebook Creates a form selector element permissions from the user.
http://developers.facebook.com/docs/r like the one used in the message specified user is a member of the viewer of the profile matches the profile Pages, this adds a standardized edit displaying the month.
eference/fbml/ composer. specified group. Platform Internationalization fb:help owner. header for canvas pages so that the Social Widgets
Renders a help link. Page owner can easily jump to their fb:editor‐text
fb:quantcast Profile‐specific Page's app configuration. Creates an <input> of type text.
fb:if‐is‐user fb:date fb:comments_(XFBML)
Inserts appropriate Quantcast code into Only renders the content inside the tag Renders a date. fb:mediaheader
a canvas page. fb:redirect Displays a Comments Box on a Facebook
Tools if the viewer is one of the specified
p Renders a standard media header, fb:action fb:editor‐textarea
Redirects a user's browser to a new URL
d ' b Connect site or in an IFrame application.
Connect site or in an IFrame application
user(s). fb:fbml‐attribute intended mainly for displaying content Renders a link, usually for navigational Creates a <textarea> element.
fb:random contributed by a particular user. purposes. within the Facebook canvas.
fb:board Contains the value of an attribute of an fb:live‐stream
Displays a discussion board with a Randomly chooses an item inside the FBML tag. fb:editor‐time
fb:if‐is‐verified Use this tag to render a Live Stream Box
unique identifier. tags based on the weights provided. fb:owner‐action fb:add‐section‐button fb:ref Creates a series of form selector
Displays the enclosed content only if social widget on your FBML canvas
Specifies an action link to be displayed Renders an Add to Profile or Add to Fetches and renders content (like FBML elements showing the time in hours and
Facebook has verified the current user. fb:intl pages or Facebook Connect sites.
fb:random‐option inside a fb:mediaheader when the Info button (depending upon which or JavaScript) from a given ref source minutes, and an AM/PM indicator.
fb:bookmark Marks a string of English text as
Contains code to be output when viewer is the owner of the content section attribute you specify) on an onto your canvas pages.
Renders a button that lets a user fb:is‐in‐network translatable into other languages.
selected by the fb:random tag. application's canvas page. Message Attachments
bookmark your application or Facebook Displays content inside the tag only if Embedded Media
Connect website so a link to your fb:tab‐item fb:share‐button
the user is in a given network. fb:intl‐token
application appears on the user's fb:switch Renders a standard Facebook tab. fb:if‐section‐not‐added Renders a standard Share button in a fb:attachment‐preview
Contains an attribute that replaces a fb:flv
profile. Evaluates every fb: tag inside and Renders the content wrapped within canvas page for the specified URL or Renders a link in a message attachment
token (variable) in the text of an fb:intl Renders a Flash‐based FLV player that
returns the first one that evaluates to fb:name fb:tabs this tag on an application canvas page if content. that, when clicked, replaces that
tag. can stream arbitrary FLV (video/audio)
anything other than an empty string. Renders the name of the user specified, Renders a group of standard Facebook the user hasn't added a condensed attachment with newly fetched content.
fb:chat‐invite files on the page.
optionally linked to his or her profile. navigation tabs. profile box or info section to her profile. fb:share‐button_(XFBML)
Enables your users to initiate Facebook fb:tag
Chat ith their friends from ithin o r
Chat with their friends from within your fb:typeahead input
fb:typeahead‐input Renders an HTML tag.
d
Renders a standard Facebook Share
Renders a standard Facebook Share Forms
fb:profile‐pic button in a Facebook Connect fb:iframe
applications. Creates a type‐ahead tool (as Wall fb:narrow
Turns into an img tag for the specified implementation or IFrame application. Inserts an <iframe> tag into an
suggested) that will give you the results fb:tag‐attribute Renders the content contained by the fb:captcha
user's or Facebook Page's profile application canvas page; you cannot use
fb:comments that you specify. Contains the value of an attribute of an fb:wall tag only if the profile box is in the Renders a CAPTCHA on your canvas
picture. fb:time the tag on the profile page (that is,
Displays a set of comments for a unique HTML tag specified by fb:tag. Emulates the look of a wall narrow column of the profile. page inside of a form.
Renders the date and time in the user's application tabs and profile boxes).
identifier. fb:typeahead‐option environment.
This tag specifies the values for a fb:pronoun fb:publisher‐link time zone. fb:submit
fb:tag‐body fb:mp3
fb:default typeahead form input. Renders a pronoun for a specific user. Contains the body (contents) of an fb:wallpost Renders an anchor tag around the Creates a JavaScript submission
fb:title Renders a Flash‐based audio player.
For a group of fb: tags contained within HTML tag specified by fb:tag. Renders a Wall‐style post. internal content pointing to a profile mechanism for a form, which makes
an fb:switch tag, the fb:default tag fb:user‐agent fb:user with the application's Publisher Sets the page's <title> tag to its image or text links act as Submit
preselected. contents. fb:photo buttons.
renders any content inside itself if no Displays the contents wrapped inside Hides the content enclosed in this tag fb:wallpost‐action
Status Messages Renders a Facebook photo.
other fb: tag inside the fb:switch tag the tag to the specified user‐agents. from any user who is blocked by the Displays a link at the bottom of a
renders code before it. user whose uid is referenced in fb:user. wallpost (even if it appears before other fb:subtitle Editor Display
fb:error Defines the subtitle for the profile box. fb:silverlight
User/Groups Renders a standard Facebook error text within the fb:wallpost tag). Renders a Microsoft Silverlight control.
fb:else fb:user‐status fb:editor
message
message.
Handles the else case inside any fb:if, Returns the status of the user specified Visibility on Profile fb:user‐item Creates a form with two columns, just
fb:eventlink fb:swf
fb:if‐* or fb:is‐in‐network tag, and with by uid. Renders a single cell of a table, which like the form on the edit‐profile page.
Prints the specified event name and fb:explanation Renders a Shockwave Flash (SWF)
age and location restricting tags. contains a thumbnail and name for a
formats it as a link to the event's page. Renders a standard Facebook fb:18‐plus object.
Notifications and Requests particular user, similar to the Mutual fb:editor‐button
explanation message. Restricts content to users who are age Friends table on profile pages.
fb:feed Renders a button of type submit inside
fb:grouplink 18 or older. Dialog
Renders an application‐specific News fb:application‐name an fb:editor tag.
Prints the specified group name and fb:message
Feed, which displays recent application Renders the application name. fb:user‐table
formats it as a link to the group's page. Renders the heading text for an error, fb:21‐plus
stories about the logged in user's Renders a table, each cell of which fb:editor‐buttonset fb:dialog
friends. explanation or success message. Restricts content to users who are age contains a thumbnail and name for a The fb:dialog tag displays a lightbox‐
fb:multi‐friend‐selector A container for one or more fb:editor‐
fb:if‐can‐see 21 or older. particular user, similar to the Mutual type dialog box when a user clicks on
There are actually two versions of this button tags, which are rendered next to
Displays the enclosed content if the fb:success Friends table on profile pages. some element.
fb:friend‐selector button ‐ the full version and the each other with some space between
logged in user can see the specified Renders a standard Facebook success fb:restricted‐to
Renders a predictive friend selector condensed version. each button.
what attribute of the specified user. message. Lets you tailor the enclosed content to
input for a given person. fb:wide fb:dialog‐button
display to specific ages, locations, or The enclosed content appears only Renders a button for the fb:dialog
fb:multi‐friend‐ fb:editor‐cancel
fb:if‐can‐see‐photo
p Page Navigation
Page Navigation content types.
yp when profile box is in the wide column
when profile box is in the wide column popup
popup.
fb:google analytics
fb:google‐analytics Renders a Cancel b tton inside an
Renders a Cancel button inside an
Displays the enclosed content only if the selector_(condensed) of the profile.
Inserts appropriate Google Analytics fb:editor tag.
logged in user can see the photo There are actually two versions of this fb:visible‐to‐app‐users
code into a canvas page. fb:create‐button fb:dialog‐content
specified. button ‐ the full version and the Displays the enclosed content only if the
condensed version.
Renders a Create button for adding Misc fb:editor‐custom The fb:dialog‐content tag is a child of
user‐generated content. viewer has granted full permissions to fb:dialog and represents the content
fb:if Allows you to put any content into an
fb:if‐is‐app‐user the application. that gets displayed inside the popup
Only renders the content inside the tag fb:fbml fb:editor block, as long as it is valid
Displays the enclosed content only if the fb:req‐choice dialog when it appears.
if value tag is set to true. fb:dashboard This tag serves two purposes. FBML.
specified user has accepted the terms of Specifies a button to be shown at the fb:visible‐to‐connection
service of the application (that is, bottom of a request on the user's
Renders a standard Facebook Cheat Sheet available at
dashboard header. Use this tag to display the content fb:dialog‐title
fb:if‐multiple‐actors authorized your application). requests page. fb:fbmlversion fb:editor‐date www.princessdesign.net
inside the tag on a user's or a Facebook fb:dialog‐title is a child of fb:dialog and
Displays the enclosed content when Prints the version of FBML currently in Creates two drop down list boxes that
Page's profile only if the viewer is a renders a title for what is displayed
more than one actor is involved in a scope. let a user select a date.
friend of that user or is a fan of that inside the popup dialog.
Feed story.
Facebook Page.