Updates authenticated user profile data

Note: ALL arguments are required.

Authenication

This method requires authentication with viddler.users.auth API method.

Arguments

api_key
Assigned Viddler API Key
method
Should be set to “Viddler.users.setProfile”
sessionid
Current session in generated by calling viddler.users.auth method
first_name (optional)
20 characters max
last_name (optional)
20 characters max
about_me (optional)
No length limitation
birthdate (optional)
Birthdate in yyyy-mm-dd format
gender (optional)
Either m or y
company (optional)
100 characters max
city (optional)
250 characters max. Currently this is the only address field supported by viddler, so you may provide more information than just city.

Notes

  • Arguments not sent, won’t update the profile
  • To remove any information from profile just send empty parameter value
  • If you want to send more data in one request (like longer description, multiple parameters etc.) consider using HTTP POST method instead of GET.

Example Call

http://api.viddler.com/rest/v1/?method=viddler.users.setProfile&api_key=12345ffbbce455&sessionid=12345678&first_name=John&last_name=Doe

Example Response

This method will return the same response as viddler.users.getProfile so you’ll instantly be able to compare sent data to what actually was set in user profile.