method-users-getProfile
Last edited: January 27th, 2009 by Colin DevroeRetrieves the public parts of a user profile.
Note: ALL arguments are required.
Authenication
This method does not require user authentication.
Arguments
- method
- Should be set to “Viddler.users.getProfile”
- api_key
- Assigned Viddler API Key
- user
- The chosen Viddler user name.
Example Call
http://api.viddler.com/rest/v1/?method=viddler.users.getProfile&api_key=12345ffbbce455&user=user
Example Response
<?xml version="1.0" encoding="UTF-8"?> <user> <username>username</username> <first_name>John</first_name> <last_name>Doe</last_name> <about_me>About me message</about_me> <avatar>http://cdn-ll-static.viddler.com/avatars/bigbg_1b338116a.png</avatar> <age>27</age> <video_upload_count>60</video_upload_count> <video_watch_count>0</video_watch_count> <homepage>http://www.viddler.com</homepage> <gender>m</gender> <company></company> <city>NY</city> <friend_count>210</friend_count> <favourite_video_count>0</favourite_video_count> </user>
Note: Since the 2.3 api version country tag has been temporary removed.
Error Codes
| Error # | Description |
|---|---|
| 101 | Username not found. |