Fb:req-choice
From Facebook Developer Wiki
Contents |
Description
Facebook will deprecate this tag in late 2009/early 2010.
You can send requests and invites through Inbox. For more information, please read the Developer Roadmap.
Specifies a button to be shown at the bottom of a request on the user's requests page.
Attributes
| Required | Name | Type | Description | |
| required | url | string | The URL to which the button should take the user upon click. must be an absolute. | |
|---|---|---|---|---|
| label | string | Specifies the text to display on this button. |
Examples
How to embed other FBML tags and tokenized text within req-choice's label attribute
Notes
An Ignore button is added by default and will dismiss the request. Including Ignore as a req-choice often results[who says?][possible bug?] in the loss of all buttons. Using the same URL for multiple buttons will cause only the last button with the URL to be shown. In most cases, the URL should be either the facebook add application URL (e.g. http://www.facebook.com/add.php?api_key=FACEBOOK_API_KEY&v=1.0), or the root URL for your application (e.g. http://apps.facebook.com/yourapp).
