Profile.setRBML

Sets the RBML for a user's profile, including the content for both the profile box and the profile actions. See the RBML documentation for a description of the markup and its role in various contexts. Note that this method can also be used to set rb:profile-actions for users.

The RBML is cached on Sociali's server for that particular user and that particular application. To change it, profile.setRBML must be called through a canvas page.

Parameters

Type Name Required Description
string api_key The application key associated with the calling application.
string session_key The session key of the logged in user.
float call_id The request's sequence number. Each successive call for any session must use a sequence number greater than the last. We suggest using the current time in milliseconds, such as PHP's microtime(true) function.
string sig An MD5 hash of the current request and your secret key, as described in the authentication guide.
string v This must be set to 1.0 to use this version of the API.
string format Desired response format. Either XML (default) or JSON.
string callback Name of a function to call. This is primarily to enable cross-domain JavaScript requests using the <script> tag, also known as JSONP, and works with both the XML and JSON formats. The function will be called with the response passed as the parameter.
string markup The RBML intended for the user's profile
int uid The user whose profile is to be updated. If not specified, defaults to the logged-in user.