Name
<fb:board/>
Synopsis
<fb:board xid="...">...</fb:board>
Creates a discussion board, controlled by Facebook. The
board’s data is not accessible by any underlying server code of the
programmer. When you specify an xid for the board,
Facebook is able to track which topics and discussions go under which
board.
FBML-Specific Attributes
Required
xid=[string] default: noneThe unique identifier for the board. Each board in your application should have its own identifier. Note that only alphanumeric (A–Z, a–z, 0–9), underscores (
_), and hyphens (-) are allowed.
Optional
canpost=[true|false] default: trueIf
true, the user viewing the page can post to the board.candelete=[true|false] default: falseIf
true, any user viewing the page can delete any topic or post to the board.canmark=[true|false] default: falseIf
true, any user viewing the page can mark a post as relevant or irrelevant.cancreatetopic=[true|false] default: trueIf
true, any user viewing the page can create a new topic.numtopics=[int] default: 3The maximum number of topics to show in the first page of the board. Clicking on the “See All” link will still show all topics.
callbackurl=[string] default:the current pageThe reference point for all actions within the board. This is the URL to fetch configuration for the discussion board.
returnurl=[string] default:the current pageThe URL to take the user back to when they click on the “Return” link.
Example FBML
The following FBML code example produces two discussion boards
using the <fb:board/> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access