Facebook 2008 FBML Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro ne Facebook 2008 FBML. Facebook 2008 FBML Reference Guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 159
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - FBML Reference Guide

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

Strany 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

Strany 3

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

Strany 4

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

Strany 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

Strany 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

Strany 7

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

Strany 8

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

Strany 9 - Fb:pronoun

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 22 - Deprecated Tags

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

Strany 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

Strany 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

Strany 25 - Fb:narrow

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

Strany 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

Strany 27

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

Strany 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

Strany 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

Strany 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

Strany 31

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

Strany 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

Strany 33 - Visibility on Profile

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

Strany 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

Strany 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

Strany 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

Strany 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-

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 45

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

Strany 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

Strany 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

Strany 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

Strany 49 - Fb:board

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

Strany 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

Strany 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

Strany 52

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

Strany 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

Strany 54

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

Strany 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

Strany 56

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

Strany 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

Strany 58

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

Strany 59 - Fb:mobile

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

Strany 60 - Fb:multi-friend-input

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

Strany 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

Strany 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

Strany 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

Strany 64 - Fb:switch

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

Strany 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

Strany 66 - Fb:user-agent

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

Strany 67

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 72 - </script>

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 77

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

Strany 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

Strany 79

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

Strany 80 - Fb:title

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

Strany 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

Strany 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

Strany 83 - Message/Wall attachments

facebook FBML Reference Guide Page 3 of 159Fb:flv

Strany 84

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

Strany 85

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

Strany 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

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 94

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

Strany 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

Strany 96

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

Strany 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

Strany 98 - Post Variables

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

Strany 99

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

Strany 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

Strany 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

Strany 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

Strany 103 - Fb:application-name

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

Strany 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

Strany 105 - Fb:explanation

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

Strany 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

Strany 107 - Fb:message

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

Strany 108 - Fb:editor

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

Strany 109

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

Strany 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

Strany 111 - Fb:editor-buttonset

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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?]

Strany 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

Strany 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

Strany 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

Strany 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

Strany 123

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

Strany 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

Strany 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

Strany 126 - Fb:header

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

Strany 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

Strany 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

Strany 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

Strany 130 - Fb:owner-action

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

Strany 131

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

Strany 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

Strany 133

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

Strany 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"

Strany 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

Strany 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

Strany 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

Strany 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

Strany 139

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 144 - DynamicFBML/MockAJAX

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

Strany 145 - DynamicFBML/Forms

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

Strany 146 - Requirelogin

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

Strany 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

Strany 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

Strany 149

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

Strany 150

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

Strany 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

Strany 152

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

Strany 153

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

Strany 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 !

Strany 155

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

Strany 156 - Usage notes

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

Strany 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

Strany 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

Strany 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

Komentáře k této Příručce

Žádné komentáře