<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.
canpost=[true|false] default:
true
candelete=[true|false] default:
false
If true
, any user viewing the
page can delete any topic or post to the board.
canmark=[true|false] default:
false
If true
, any user viewing the
page can mark a post as relevant or irrelevant.
cancreatetopic=[true|false]
default: true
numtopics=[int
]
default: 3
The 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
page
The reference point for all actions within the board. This is the URL to fetch configuration for the discussion board.
returnurl=[string
]
default: the current
page
The URL to take the user back to when they click on the “Return” link.
The following FBML code example produces two discussion boards
using the <fb:board/>
tag, both on the same
page (Figure 3-51 shows the result):
<div style="width:300px"> <fb:board xid="discussion_board" canpost="true" candelete="false" canmark="false" cancreatetopic="true" numtopics="5" returnurl="http://apps.facebook.com/fbmlessentials/board.php"> <fb:title>Discuss FBML Essentials</fb:title> </fb:board> </div> <div style="width:300px"> <fb:board xid="discussion_board_2" canpost="true" candelete="false" canmark="false" cancreatetopic="true" numtopics="5" returnurl="http://apps.facebook.com/fbmlessentials/board.php"> <fb:title>Discuss Facebook Trivia</fb:title> </fb:board> </div>
3.144.113.55