Download Facebook 2008 FBML Reference Guide

Transcript
facebook FBML Reference Guide
Page 6 of 159
Facebook tags
Summary:
User/Groups
Deprecated Tags
Profile-specific
Visibility on Profile
Embedded media
Tools
Misc
Forms
Message/Wall attachments
Notifications and requests
Status messages
Editor display
Page navigation
Dialog
Wall
User/Groups
Fb:name
Description
Renders the name of the user specified, optionally linked to his or her profile.
This also works for Facebook Pages with the ID of the Page passed as the uid parameter.
You can use this tag for both the subject and the object of a sentence describing an action. For example, if a user
with the user ID $tagger tags a photo of a user with the user ID $tagee, you could say:
<fb:name uid="$tagger" capitalize="true" /> tagged a photo of <fb:name subjectid="$tagger" uid="$tagee" />
Attributes
Required Name
Type Description
required
uid
uid
optional
firstnameonly bool
linked
bool
lastnameonly bool
The ID of the user or Page whose name you want to show. You can also use
"loggedinuser" or "profileowner".
Show only the user's first name. (default value is false)
Link to the user's profile. (default value is true)
Show only the user's last name. (default value is false)
www.yapish.com