data.setCookie (socialNetwork.data.setCookie)
Associates a cookie with a given user. Returns true if the association was successful.
Parameters
- Integer < required> User id to associate with the cookie.
- String < required> Name of the cookie.
- String < required> Value of the cookie.
- Integer < optional> The cookie expiration date.
- String < optional> A path relative to application's callback url for which the cookie should be associated
Other parameters required to make this API method call
- String < required> The api key of the current app.
- String < required> The current user's session key.
- Decimal < required> The sequence number for this request. This must be greater than the value provided for the previous call. Tip: Server time in milliseconds is ideal for this.
- String < required> The signature for the current request.
- String < required> Set this to 1.0 for now.
- String < optional> Response format, accepts XML or JSON, default is XML.
- String < optional> Generates a call to the callback containing the formatted results.

Nederlands
Français
Deutsch
Italiano
Polski
Español