rb:profile-action

Description

Renders a link on the user's profile under their photo (such as "View More photos of..").

Attributes

required url string The URL to which the user is taken after clicking the must be absolute link.


Notes

  • Use profile.setRBML to add the button to a user's profile.
  • If you add this to the profile of a user who has not added your application, it will appear only to those users who have added your application. By setting the default RBML to include a rb:profile-action, this action appears on every profile the user of your application sees.
  • There is a limit of about 30 characters in the action label. (Note: Leading and trailing white-space counts against this limit, so if your link is being elided, check for and remove any extra spaces between the tags and the label text.)
  • For users for whom you have not called profile.setRBML, the actions are read from the content in "Default RBML" section of your application settings. For the most part, this applies to any user who has not added your application.
  • For users for whom you have called profile.setRBML, the actions are read from whatever content you set when you last called profile.setRBML for that user.
  • Example: There are three friends -- Larry, Curly and Moe. Both Larry and Curly add your application. When Larry views Curly’s profile, the profile actions that Larry sees on Curly’s profile come from the content you posted to Curly’s profile. When Larry views Moe’s profile, the profile actions Larry sees on Moe’s profile come from the default RBML content, because you haven’t called profile.setRBML on Moe, because you don’t necessarily know he exists.