How do I display a user’s name?
tag. Among the many options you can include, specify the
uid of the user whose name you want
to display (you can also use
This tag is interesting because of the various ways that
different languages deal with possessive nouns and other grammatical
structures, which I can never keep straight. (Is the participle
dangling? What does that even mean?) This is a great example of FBML
saving you from having to add giant
blocks to your code. The parameters are listed in Table 6-1.
Table 6-1. Parameters for fb:name
The Facebook user ID
Capitalize the text if
Show only the user’s first name.
Alternate text to display if the logged-in user cannot access the user specified.
Specified text if they can’t see me; “Jay Goldman” if they can
Show only the user’s last name.
Link to the user’s Profile.
Use the possessive form (his/her/your).
Use the reflexive form (himself/herself/yourself). ...