Facebook Updates FBML-Based Requests Interface
October 12, 2007
An announcement on the Facebook Developers Blog introduced several enhancements to the FBML-based requests user interface.
The first change includes the addition of the condensed multi-friend-selector FBML tag, which must be used included as a child element to the pre-existing request-form tag. This new tag is intended to offer an alternative condensed means of selecting users in contrast to the cumbersome request-form introduced recently.
Additionally, the need for a request-form-submit FBML tag was required in order to submit users selected within the multi-friend-selector. Like the multi-friend-selector tag, the request-form-submit tag must be included as a child of a request-form element.
A brief code snippet demonstrating these new elements is provided below. The output of this code creates the UI element seen in the image above.
<div style="padding:10px">
<fb:request-form method="post" action="index.php" content="hey" type="sample" invite="true">
<div class="clearfix" style="padding-bottom:10px">
<fb:multi-friend-selector condensed="true" style="width:200px" />
</div>
<fb:request-form-submit />
</fb:request-form>
</div>
The announcement also reminds developers that with the introduction of the new request form tags, the previously used notification.sendRequest API method will be deleted in one week.
Comments
Got something to say?



