Name
<fb:req-choice/>
Synopsis
<fb:req-choice url="..." label="..."/>
Provides a button to be used in the invite request sent to the user’s friends.
FBML-Specific Attributes
Required
url=[string] default: noneThe URL to direct the user to when they click on the button. Must be an absolute URL.
label=[string] default: noneText to display on the button.
Optional
None.
Example FBML
Please see the <fb:request-form/> tag earlier in this chapter for an example of this tag.
Additional Information
If two buttons with the same URL are used, only the last one will be rendered.
Each request defaults to have one ignore button. Having more than one ignore button can cause problems.
<fb:req-choice/>is built to be used within thecontentattribute of the <fb:request-form/>. Be sure to properly encode it to fit within the quotes of that attribute.You may have as many <fb:req-choice/> buttons as needed.
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