Fb:wallpost

From Facebook Developer Wiki

Jump to: navigation, search

Description

Renders a Wall-style post. You should use it inside fb:wall tags, but it renders fine without them. It can also contain an fb:wallpost-action tag, which places a link at the bottom of the post.

Names and profile links follow standard Facebook privacy rules for other users viewing the Wall posts.

Attributes

RequiredNameTypeDescription
required uid int The user ID of the author of the post. FBML cannot parse without it, resulting in a runtime error. If the user ID is invalid (for example, the account has been deleted) then an image of a question mark and no name appear.
optional t int The current time, which is displayed in epoch seconds. (Default value is empty, no time/date is displayed with the Wall post.)
ifcantsee string Alternate text to display if the logged in user cannot access the user specified. To specify an empty string instead of the default, use ifcantsee="". (Default value is Facebook User.)

Examples

<fb:wallpost uid="10" t="1180502413"> This tag exists outside <fb:wall> tags. <br /> It has the t attribute set to 1180502413 </fb:wallpost> <fb:wall> <fb:wallpost uid="11"> This tag exists inside <fb:wall> tags. It has no t attribute set </fb:wallpost> </fb:wall>
fbwallpostkx5.jpg