Facebook 2008 FBML User's Guide

Browse online or download User's Guide for Unknown Facebook 2008 FBML. Facebook 2008 FBML Reference Guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 159
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - FBML Reference Guide

facebook FBML Reference GuideConsolidated by: yapish.comLast updated: 03/10/2008

Page 2 - Table of Contents

facebook FBML Reference Guide Page 10 of 159Fb:profile-picDescriptionTurns into an img tag for the specified user's or Facebook Page's profi

Page 3

facebook FBML Reference Guide Page 100 of 159Examples<div style="padding: 10px;"> <fb:request-form method="post" action=

Page 4

facebook FBML Reference Guide Page 101 of 159www.yapish.com

Page 5 - Valid HTML Elements

facebook FBML Reference Guide Page 102 of 159Fb:request-form-submitDescriptionCreates a button that submits an fb:request-form. Use this along with an

Page 6 - Facebook tags

facebook FBML Reference Guide Page 103 of 159Fb:application-nameDescriptionRenders the application name. Use this tag to render the name of an applica

Page 7

facebook FBML Reference Guide Page 104 of 159Status messages Fb:errorDescriptionRenders a standard Facebook error message. The content within the <

Page 8

facebook FBML Reference Guide Page 105 of 159Fb:explanationDescriptionRenders a standard Facebook explanation message. The content contained within th

Page 9 - Fb:pronoun

facebook FBML Reference Guide Page 106 of 159Fb:successDescriptionRenders a standard Facebook success message. The content within the <fb:success&g

Page 10 - Fb:profile-pic

facebook FBML Reference Guide Page 107 of 159Fb:messageDescriptionRenders the heading text for an error, explanation or success message.Examplesfb:mes

Page 11 - Fb:eventlink

facebook FBML Reference Guide Page 108 of 159Fb:editorDescriptionCreates a form with two columns, just like the form on the edit-profile page. The chi

Page 12 - Fb:grouplink

facebook FBML Reference Guide Page 109 of 159NotesMock AJAX There is currently no way to implement Mock AJAX using fb:editor. In order to use Mock AJA

Page 13 - Fb:networklink

facebook FBML Reference Guide Page 11 of 159Fb:eventlinkDescriptionPrints the specified event name and formats it as a link to the event's page.A

Page 14 - Fb:is-in-network

facebook FBML Reference Guide Page 110 of 159Fb:editor-buttonDescriptionRenders a button of type submit inside an fb:editor tag. This tag can be a chi

Page 15 - Fb:if-can-see

facebook FBML Reference Guide Page 111 of 159Fb:editor-buttonsetDescriptionA container for one or more fb:editor-button tags, which are rendered next

Page 16 - Fb:if-can-see-photo

facebook FBML Reference Guide Page 112 of 159Fb:editor-cancelDescriptionRenders a Cancel button inside an fb:editor tag. AttributesRequired Name Type

Page 17 - Fb:if-is-app-user

facebook FBML Reference Guide Page 113 of 159Fb:editor-customDescriptionAllows you to put any content into an fb:editor block, as long as it is valid

Page 18 - Fb:if-is-friends-with-viewer

facebook FBML Reference Guide Page 114 of 159Fb:editor-dateDescriptionCreates two drop down list boxes that let a user select a date. The month is lis

Page 19 - Fb:if-is-group-member

facebook FBML Reference Guide Page 115 of 159Fb:editor-dividerDescriptionRenders a horizontal line separator in the column containing the form element

Page 20 - Fb:if-is-user

facebook FBML Reference Guide Page 116 of 159Fb:editor-monthDescriptionCreates a form selector element displaying the month. This article or section n

Page 21 - Fb:if-user-has-added-app

facebook FBML Reference Guide Page 117 of 159Fb:editor-textDescriptionCreates an <input> of type text.AttributesRequired Name Type Descriptionop

Page 22 - Deprecated Tags

facebook FBML Reference Guide Page 118 of 159Fb:editor-textareaDescriptionCreates a <textarea> element. AttributesRequired Name Type Description

Page 23 - Fb:if-is-own-profile

facebook FBML Reference Guide Page 119 of 159Fb:editor-timeDescriptionCreates a series of form selector elements showing the time in hours and minutes

Page 24 - Profile-specific

facebook FBML Reference Guide Page 12 of 159Fb:grouplinkDescriptionPrints the specified group name and formats it as a link to the group's page.A

Page 25 - Fb:narrow

facebook FBML Reference Guide Page 120 of 159Page navigation Fb:dashboardDescriptionRenders a standard Facebook dashboard header. Dashboards can conta

Page 26 - Fb:profile-action

facebook FBML Reference Guide Page 121 of 159</fb:dashboard><fb:else><fb:dashboard>{include file='header-actions-external.tpl&a

Page 27

facebook FBML Reference Guide Page 122 of 159Fb:actionDescriptionRenders a link, usually for navigational purposes. Its appearance depends on its cont

Page 28 - Fb:user-table

facebook FBML Reference Guide Page 123 of 159See AlsoYou can see a real world example of this tag in the Who's Showing Up demo application. Go to

Page 29 - Fb:user-item

facebook FBML Reference Guide Page 124 of 159Fb:create-buttonDescriptionRenders a Create button for adding user-generated content. This tag must be a

Page 30 - Fb:subtitle

facebook FBML Reference Guide Page 125 of 159Fb:helpDescriptionRenders a help link. This tag must be a child of fb:dashboard. AttributesRequired Name

Page 31

facebook FBML Reference Guide Page 126 of 159Fb:headerDescriptionRenders a standard Facebook title header. AttributesRequired Name Type Descriptionopt

Page 32

facebook FBML Reference Guide Page 127 of 159See AlsoYou can see a real world example of this tag in the Restaurants demo application. Go to Demos for

Page 33 - Visibility on Profile

facebook FBML Reference Guide Page 128 of 159Fb:mediaheaderDescriptionRenders a standard media header, intended mainly for displaying content contribu

Page 34 - Fb:visible-to-user

facebook FBML Reference Guide Page 129 of 159Fb:header-titleDescriptionSpecifies the header title for a fb:mediaheader.Examples<pre><fb:media

Page 35 - Fb:visible-to-friends

facebook FBML Reference Guide Page 13 of 159Fb:networklinkDescriptionPrints the specified network name and formats it as a link to the network's

Page 36 - Fb:visible-to-app-users

facebook FBML Reference Guide Page 130 of 159Fb:owner-actionDescriptionSpecifies an action link to be displayed inside a fb:mediaheader when the viewe

Page 37 - Fb:visible-to-added-app-users

facebook FBML Reference Guide Page 131 of 159Fb:tabsDescriptionRenders a group of standard Facebook navigation tabs. Must contain at least one fb:tab-

Page 38 - Fb:visible-to-connection

facebook FBML Reference Guide Page 132 of 159Fb:tab-itemDescriptionRenders a standard Facebook tab. Must always be a child of fb:tabs.AttributesRequir

Page 39 - Fb:18-plus

facebook FBML Reference Guide Page 133 of 159Notesfb:tabs and fb:tab-item do not render correctly within the FBML Test Console Dynamic FBML, clickt

Page 40 - Fb:21-plus

facebook FBML Reference Guide Page 134 of 159Dialog Fb:dialogDescriptionImportant: The fb:dialog tag is in beta mode right now, which means there is a

Page 41 - Embedded media

facebook FBML Reference Guide Page 135 of 159<fb:dialogresponse> <fb:dialog-title>My Little Dialog Part II</fb:dialog-title> <f

Page 42 - Fb:photo

facebook FBML Reference Guide Page 136 of 159Fb:dialog-titleDescriptionfb:dialog-title is a child of fb:dialog and renders a title for what is display

Page 43

facebook FBML Reference Guide Page 137 of 159Fb:dialog-contentDescriptionThe fb:dialog-content tag is a child of fb:dialog and represents the content

Page 44 - Flash Variables

facebook FBML Reference Guide Page 138 of 159Fb:dialog-buttonDescriptionRenders a button for the fb:dialog popup. The fb:dialog-button tag is a child

Page 45

facebook FBML Reference Guide Page 139 of 159Wall Fb:wallDescriptionEmulates a wall environment.Examples<fb:wall> <fb:wallpost uid="123

Page 46

facebook FBML Reference Guide Page 14 of 159Fb:is-in-networkDescriptionDisplays content inside the tag only if the user is in a given network. Note: Y

Page 47

facebook FBML Reference Guide Page 140 of 159Fb:wallpostDescriptionRenders a wall-style post. You should use it inside fb:wall tags, but it renders fi

Page 48 - Fb:silverlight

facebook FBML Reference Guide Page 141 of 159Fb:wallpost-actionDescriptionDisplays a link at the bottom of a wallpost (even if it appears before other

Page 49 - Fb:board

facebook FBML Reference Guide Page 142 of 159Dynamic FBML attributesSummaryVisibility (clicktoshow, clicktohide,clicktotoggle) Mock AJAX (clickre

Page 50

facebook FBML Reference Guide Page 143 of 159to be.) To prevent this from happening, use a bookmark name that does not exist, such as href="#none

Page 51 - Fb:comments

facebook FBML Reference Guide Page 144 of 159DynamicFBML/MockAJAXAttributesclickrewriteid - This is the id of the div that will be replaced by the ret

Page 52

facebook FBML Reference Guide Page 145 of 159DynamicFBML/FormsAttributesclicktoenable - Will enable the form elements specified by id. clicktodisable

Page 53 - Fb:friend-selector

facebook FBML Reference Guide Page 146 of 159RequireloginDescriptionYou can add the attribute requirelogin to anchor tags to ensure that the user will

Page 54

facebook FBML Reference Guide Page 147 of 159FBJSDescriptionFBJS is Facebook's solution for developers who want to use JavaScript in their Facebo

Page 55 - Fb:google-analytics

facebook FBML Reference Guide Page 148 of 159//--></script>As you can see, creating FBJS is very similar to JavaScript. Note, however, that t

Page 56

facebook FBML Reference Guide Page 149 of 159lastChild getLastChild childNodes getChildNodes Returns a snapshot array of childNodes innerHTML n/a

Page 57

facebook FBML Reference Guide Page 15 of 159Fb:if-can-seeDescriptionDisplays the enclosed content if the logged in user can see the specified what att

Page 58

facebook FBML Reference Guide Page 150 of 159type getType setType selectedIndex getSelectedIndex setSelectedIndex selected getSelected setSelect

Page 59 - Fb:mobile

facebook FBML Reference Guide Page 151 of 159Textbox selections have been implemented with the methods getSelection and setSelection. getSelection ret

Page 60 - Fb:multi-friend-input

facebook FBML Reference Guide Page 152 of 159 firedByDescription.setTextValue(''); return true; } //otherwise... do some processing:

Page 61 - [possible bug?]

facebook FBML Reference Guide Page 153 of 159AJAXFBJS supplies a very powerful AJAX object for developers. Facebook proxies all AJAX requests and opti

Page 62

facebook FBML Reference Guide Page 154 of 159(constructor) type can be either Dialog.DIALOG_POP or Dialog.DIALOG_CONTEXTUAL. Dialog.DIALOG_POP This i

Page 63 - Fb:random-option

facebook FBML Reference Guide Page 155 of 159TipsDon't create JavaScript which depends on a sensitive DOM structure. Code like this.getElementByT

Page 64 - Fb:switch

facebook FBML Reference Guide Page 156 of 159Usage notes Forms Images CSS, Design, and the DOM JavaScript Flavors Facebook Us

Page 65 - Fb:default

facebook FBML Reference Guide Page 157 of 159Invalid CSS attributes Certain CSS properties are stripped by the Facebook platform for security. This se

Page 66 - Fb:user-agent

facebook FBML Reference Guide Page 158 of 159See also Requested FBML Tags FBML DTD www.yapish.com

Page 67

facebook FBML Reference Guide Page 159 of 159External linksFBML Test Console Retrieved from "http://wiki.developers.facebook.com/index.php/F

Page 68 - Fb:typeahead-input

facebook FBML Reference Guide Page 16 of 159Fb:if-can-see-photoDescriptionDisplays the enclosed content only if the logged in user can see the photo s

Page 69

facebook FBML Reference Guide Page 17 of 159Fb:if-is-app-userDescriptionDisplays the enclosed content only if the specified user has accepted the term

Page 70 - Fb:typeahead-option

facebook FBML Reference Guide Page 18 of 159Fb:if-is-friends-with-viewerDescriptionDisplays the enclosed content only if the specified user is friends

Page 71 - Fb:js-string

facebook FBML Reference Guide Page 19 of 159Fb:if-is-group-memberDescriptionDisplays the enclosed content only if the specified user is a member of th

Page 72 - </script>

facebook FBML Reference Guide Page 2 of 159Table of ContentsTable of Contents

Page 73

facebook FBML Reference Guide Page 20 of 159Fb:if-is-userDescriptionOnly renders the content inside the tag if the viewer is one of the specified user

Page 74 - Fb:fbmlversion

facebook FBML Reference Guide Page 21 of 159Fb:if-user-has-added-appDescriptionDisplays the enclosed content only if the specified user has added the

Page 75 - Fb:redirect

facebook FBML Reference Guide Page 22 of 159Deprecated Tags Fb:userlinkDescriptionPrints the specified user's full name linked to their profile a

Page 76

facebook FBML Reference Guide Page 23 of 159Fb:if-is-own-profileDescriptionThis tag is deprecated, since if- tags are no longer allowed on profile pag

Page 77

facebook FBML Reference Guide Page 24 of 159Profile-specific Fb:wideDescriptionThe enclosed content appears only when profile box is in the wide colum

Page 78 - Fb:share-button

facebook FBML Reference Guide Page 25 of 159Fb:narrowDescriptionRenders the content contained by the tag only if the profile box is in the narrow colu

Page 79

facebook FBML Reference Guide Page 26 of 159Fb:profile-actionDescriptionRenders a link on the user's profile under their photo (such as "Vie

Page 80 - Fb:title

facebook FBML Reference Guide Page 27 of 159Check Out Application</fb:profile-action></fb:else></fb:visible-to-user> NotesUse profil

Page 81 - Fb:page-admin-edit-header

facebook FBML Reference Guide Page 28 of 159Fb:user-tableDescriptionRenders a table, each cell of which contains a thumbnail and name for a particular

Page 82 - Fb:submit

facebook FBML Reference Guide Page 29 of 159Fb:user-itemDescriptionRenders a single cell of a table, which contains a thumbnail and name for a particu

Page 83 - Message/Wall attachments

facebook FBML Reference Guide Page 3 of 159Fb:flv

Page 84

facebook FBML Reference Guide Page 30 of 159Fb:subtitleDescriptionDefines the subtitle for the profile box. The enclosed content is interpreted purely

Page 85

facebook FBML Reference Guide Page 31 of 159Fb:actionDescriptionRenders a link, usually for navigational purposes. Its appearance depends on its conta

Page 86 - Notifications and requests

facebook FBML Reference Guide Page 32 of 159See AlsoYou can see a real world example of this tag in the Who's Showing Up demo application. Go to

Page 87 - Fb:notif-page

facebook FBML Reference Guide Page 33 of 159Visibility on Profile Fb:visible-to-ownerDescriptionDisplays content inside only if the viewer of the prof

Page 88 - Fb:notif-email

facebook FBML Reference Guide Page 34 of 159Fb:visible-to-userDescriptionOnly displays the content inside the tag if the viewer is the specified user.

Page 89 - Fb:req-choice

facebook FBML Reference Guide Page 35 of 159Fb:visible-to-friendsDescriptionUse this tag to display the content inside the tag on a user's profil

Page 90 - Fb:request-form

facebook FBML Reference Guide Page 36 of 159Fb:visible-to-app-usersDescriptionDisplays the enclosed content only if the viewer has granted full permis

Page 91

facebook FBML Reference Guide Page 37 of 159Fb:visible-to-added-app-usersDescriptionDisplays the enclosed content only if the viewer has added the app

Page 92

facebook FBML Reference Guide Page 38 of 159Fb:visible-to-connectionDescriptionUse this tag to display the content inside the tag on a user's or

Page 93

facebook FBML Reference Guide Page 39 of 159Fb:18-plusDescriptionRestricts content to users who are age 18 or older. Examples<fb:18-plus>Oooh la

Page 94

facebook FBML Reference Guide Page 4 of 159Fb:editor-buttonset

Page 95

facebook FBML Reference Guide Page 40 of 159Fb:21-plusDescriptionRestricts content to users who are age 21 or older. Examples<fb:21-plus>Oooh la

Page 96

facebook FBML Reference Guide Page 41 of 159Embedded media Fb:iframeDescriptionInserts an <iframe> tag into the page.AttributesRequired Name Typ

Page 97 - Fb:multi-friend-selector

facebook FBML Reference Guide Page 42 of 159Fb:photoDescriptionRenders a Facebook photo.AttributesRequired Name Type Descriptionrequired pid int An AP

Page 98 - Post Variables

facebook FBML Reference Guide Page 43 of 159Fb:mp3DescriptionRenders a flash-based audio player. AttributesRequired Name Type Descriptionrequired src

Page 99

facebook FBML Reference Guide Page 44 of 159Fb:swfDescriptionRenders a Shockwave Flash (SWF) object. On profile pages, an image appears first. When th

Page 100 - Examples

facebook FBML Reference Guide Page 45 of 159fb_sig_profile int The uid of the user into whose profile the Flash object is being loaded; this is blank

Page 101

facebook FBML Reference Guide Page 46 of 159NotesCurrently, Facebook requires Flash version 9.0.0 for all <fb:swf> tags. Make sure that the flas

Page 102 - Fb:request-form-submit

facebook FBML Reference Guide Page 47 of 159Fb:flvDescriptionRenders a Flash-based FLV player that can stream arbitrary FLV (video/audio) files on the

Page 103 - Fb:application-name

facebook FBML Reference Guide Page 48 of 159Fb:silverlightDescriptionRenders a Microsoft Silverlight control. On profile pages, an image appears first

Page 104 - Status messages

facebook FBML Reference Guide Page 49 of 159Tools Fb:boardDescriptionThis tag is currently in beta. It is available for all applications. Please post

Page 105 - Fb:explanation

facebook FBML Reference Guide Page 5 of 159FBMLFrom Facebook Developers WikiJump to: navigation, searchFacebook Markup Language (FBML) enables you to

Page 106 - Fb:success

facebook FBML Reference Guide Page 50 of 159returnurl string The URL where the user is returned after selecting a "back" link. (default valu

Page 107 - Fb:message

facebook FBML Reference Guide Page 51 of 159Fb:commentsDescriptionDisplays a set of comments for a unique identifier. Facebook handles posting, drawin

Page 108 - Fb:editor

facebook FBML Reference Guide Page 52 of 159Examples<fb:comments xid="titans_comments" canpost="true" candelete="false&quo

Page 109

facebook FBML Reference Guide Page 53 of 159Fb:friend-selectorDescriptionRenders a predictive friend selector input for a given person. You can use th

Page 110 - Fb:editor-button

facebook FBML Reference Guide Page 54 of 159See AlsoYou can see a real world example of this tag in the Footprints demo application. Go to Demos for m

Page 111 - Fb:editor-buttonset

facebook FBML Reference Guide Page 55 of 159Fb:google-analyticsDescriptionInserts appropriate Google Analytics code into a canvas page.AttributesRequi

Page 112 - Fb:editor-cancel

facebook FBML Reference Guide Page 56 of 159uccn string The name of the campaign. This is a UTM campaign tracking setting. (default value is utm_campa

Page 113 - Fb:editor-custom

facebook FBML Reference Guide Page 57 of 159Fb:ifDescriptionOnly renders the content inside the tag if value tag is set to true.AttributesRequired Nam

Page 114 - Fb:editor-date

facebook FBML Reference Guide Page 58 of 159Fb:elseDescriptionHandles the else case inside any fb:if, fb:if-* or fb:is-in-network tag. Applicable tags

Page 115 - Fb:editor-divider

facebook FBML Reference Guide Page 59 of 159Fb:mobileDescriptionRenders the contained content only when viewed on the mobile website (http://m.faceboo

Page 116 - Fb:editor-month

facebook FBML Reference Guide Page 6 of 159Facebook tags Summary:User/GroupsDeprecated Tags Profile-specific Visibility on Profile Embedded media Tool

Page 117 - Fb:editor-text

facebook FBML Reference Guide Page 60 of 159Fb:multi-friend-inputDescriptionRenders a multi-friend form entry field like the one used in the message c

Page 118 - Fb:editor-textarea

facebook FBML Reference Guide Page 61 of 159When used, it appears to disable the recipient input box on the popup for fb:share-button. [possible bug?]

Page 119 - Fb:editor-time

facebook FBML Reference Guide Page 62 of 159Fb:randomDescriptionRandomly chooses an item inside the tags based on the weights provided. fb:random allo

Page 120 - Page navigation

facebook FBML Reference Guide Page 63 of 159Fb:random-optionDescriptionContains code to be output when selected by the fb:random tag. You can control

Page 121 - See Also

facebook FBML Reference Guide Page 64 of 159Fb:switchDescriptionEvaluates every fb: tag inside and returns the first one that evaluates to anything ot

Page 122 - Fb:action

facebook FBML Reference Guide Page 65 of 159Fb:defaultDescriptionThis article or section needs expansion For a group of fb: tags contained within an f

Page 123

facebook FBML Reference Guide Page 66 of 159Fb:user-agentDescriptionDisplays the contents wrapped inside the tag to the specified user-agents. You can

Page 124 - Fb:create-button

facebook FBML Reference Guide Page 67 of 159NotesIf both the includes and excludes attributes exist, the order of operation is to evaluate the include

Page 125 - Attributes

facebook FBML Reference Guide Page 68 of 159Fb:typeahead-inputDescriptionThis tag is currently in beta. Please post bugs in the Bug Tracker. Creates a

Page 126 - Fb:header

facebook FBML Reference Guide Page 69 of 159http://bugs.developers.facebook.com/show_bug.cgi?id=1372 www.yapish.com

Page 127

facebook FBML Reference Guide Page 7 of 159possessive bool Make the user's name possessive (e.g. Joe's instead of Joe). (default value is fa

Page 128 - Fb:mediaheader

facebook FBML Reference Guide Page 70 of 159Fb:typeahead-optionDescriptionThis tag is currently in beta. Please post bugs in the Bug Tracker. This tag

Page 129 - Fb:header-title

facebook FBML Reference Guide Page 71 of 159MiscFb:js-stringDescriptionThis tag renders a block of FBML into an FBML block variable instead of renderi

Page 130 - Fb:owner-action

facebook FBML Reference Guide Page 72 of 159</script>www.yapish.com

Page 131

facebook FBML Reference Guide Page 73 of 159Fb:fbmlDescriptionDefines a block of FBML to be rendered in a specific version of FBML.AttributesRequired

Page 132 - Fb:tab-item

facebook FBML Reference Guide Page 74 of 159Fb:fbmlversionDescriptionPrints the version of FBML currently in scope. You should use this tag only for d

Page 133

facebook FBML Reference Guide Page 75 of 159Fb:redirectDescriptionRedirects a user's browser to a new URL within the Facebook canvas.AttributesRe

Page 134 - Fb:dialog

facebook FBML Reference Guide Page 76 of 159Fb:refDescriptionFetches and renders FBML from a given ref source – either a ref string "handle"

Page 135

facebook FBML Reference Guide Page 77 of 159Cache Expiration As mentioned within a forum thread by a member of the Facebook team: "You only need

Page 136 - Fb:dialog-title

facebook FBML Reference Guide Page 78 of 159Fb:share-buttonDescriptionRenders a standard Share button in a profile for the specified URL or content. A

Page 137 - Fb:dialog-content

facebook FBML Reference Guide Page 79 of 159Fb:timeDescriptionRenders the date and time in the user's time zone. AttributesRequired Name Type Des

Page 138 - Fb:dialog-button

facebook FBML Reference Guide Page 8 of 159Fb:userDescription Forces the enclosed content to be restrained to site privacy checks[verify] based on the

Page 139

facebook FBML Reference Guide Page 80 of 159Fb:titleDescriptionSets the page's <title> tag to its contents. Alternatively, when used inside

Page 140 - Fb:wallpost

facebook FBML Reference Guide Page 81 of 159Fb:page-admin-edit-headerDescriptionFor apps that can be added to Facebook Pages, this adds a standardized

Page 141 - Fb:wallpost-action

facebook FBML Reference Guide Page 82 of 159Forms Fb:submitDescriptionCreates a JavaScript submission mechanism for a form, which makes image or text

Page 142 - Dynamic FBML attributes

facebook FBML Reference Guide Page 83 of 159Message/Wall attachments Fb:attachment-previewDescriptionRenders a link in a wall or message attachment th

Page 143

facebook FBML Reference Guide Page 84 of 159When the user clicks your "attach" link, Facebook calls your script and displays it in a pop-up

Page 144 - DynamicFBML/MockAJAX

facebook FBML Reference Guide Page 85 of 159<table width="100%" border="0" cellspacing="0" cellpadding="3"&

Page 145 - DynamicFBML/Forms

facebook FBML Reference Guide Page 86 of 159Notifications and requests Fb:notif-subjectDescriptionSpecifies the content of the email subject line for

Page 146 - Requirelogin

facebook FBML Reference Guide Page 87 of 159Fb:notif-pageDescriptionSpecifies content of a notification that appears on a user's Notifications pa

Page 147 - The Basics

facebook FBML Reference Guide Page 88 of 159Fb:notif-emailDescriptionSpecifies content of the email body for a notification sent with the notification

Page 148 - FBJS DOM Objects

facebook FBML Reference Guide Page 89 of 159Fb:req-choiceDescriptionSpecifies a button to be shown at the bottom of a request on the user's reque

Page 149

facebook FBML Reference Guide Page 9 of 159Fb:pronounDescriptionRenders a pronoun for a specific user.AttributesRequired Name Type Descriptionrequired

Page 150

facebook FBML Reference Guide Page 90 of 159Fb:request-formDescriptionCreates a form that sends requests to the selected users. To send requests/invit

Page 151

facebook FBML Reference Guide Page 91 of 159ids array A zero-based array containing all of the user IDs of the people the user invited. ExamplesExampl

Page 152

facebook FBML Reference Guide Page 92 of 159protected Map referenceData(HttpServletRequest request) throws Exception {logger.info("InviteFriendsF

Page 153

facebook FBML Reference Guide Page 93 of 159Example PHP Invite Page<?phprequire_once('config.php');require_once('init.php');req

Page 154 - Animation

facebook FBML Reference Guide Page 94 of 159// Build an delimited list of users...if ($rs){for ( $i = 0; $i < count($rs); $i++ ){if ( $arFriends !

Page 155

facebook FBML Reference Guide Page 95 of 159Example Overloaded Form<fb:fbml><fb:request-form method="POST" action="compare.php

Page 156 - Usage notes

facebook FBML Reference Guide Page 96 of 159<div class="clearfix" style="padding-bottom: 10px;"><fb:multi-friend-selector

Page 157 - Invalid CSS attributes

facebook FBML Reference Guide Page 97 of 159Fb:multi-friend-selectorDescriptionThere are actually two versions of this button - the full version and t

Page 158 - See also

facebook FBML Reference Guide Page 98 of 159Post VariablesRequired Name Type Descriptionids array An array of the user IDs chosen by the user. Example

Page 159 - External links

facebook FBML Reference Guide Page 99 of 159Fb:multi-friend-selector (condensed)DescriptionThere are actually two versions of this button - the full v

Comments to this Manuals

No comments