Name
<fb:add-section-button/>
Synopsis
<fb:add-section-button "..."/>
Renders an “Add to Profile” or “Add to Info” button on an application’s canvas page. After calling
profile.setFBML or
profile.setInfo on your app, this button allows
you to add a profile box or additional information to the main
profile area, to the “Boxes” tab, or to the “Info” tab. Where it
appears partly depends on how you call
profile.setFBML: if the
profile_main parameter is set, it will appear on
the main profile section of the user’s profile; if not, it will
appear under the “Boxes” tab. Where it appears also depends on the
section you specify. If you specify a section of “Info,” the
information you set in the profile.setInfo API
call will be sent to the user’s “Info” tab. When you have called
this once for the given section type, the button will no longer
appear for that section type until the user removes it from his
profile.
Warning
It is important to note that this tag is still under development at the time of this writing, so the way it works may change by the time you read this. Please refer to http://wiki.developers.facebook.com/index.php/New_Design_Narrow_Boxes and also to http://wiki.developers.facebook.com/index.php/Fb:add-section-button for more information about this tag. I will update this book’s Facebook Page when this tag is updated.
FBML-Specific Attributes
Required
section=[profile|info] default: noneThe section in which to place the content specified in the
profile.setInfoorprofile.setFBML
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