Videos TV & Movies Channels Community

veoh.people.getConfirmedFriends

Get the list of confirmed fiends of a user, given a user's name

Request URL

HTTP(HTTPS)://www.veoh.com/rest/v1/?method=veoh.people.getConfirmedFriends&apiKey=[your api key]

HTTP method

GET,POST

Arguments

numOfResults(Required)
The number of results intended to retrieve in this request, it has to be a positive integer greater than 0 and less than or equal to 100.
offset(Required)
The offset from which the results will be retrieved, it has to be 0, or a positive integer within the limit of total number of objects.
username(Required)
The user name. A valid user name should only contain alphanumeric characters (0-9)(A-Z) between 3 and 40 characters long.
userToken(Optional)
The userToken that represents the requester
j_username(Optional)
The username of the user making this request. It has to represent a valid user in the sysetm.Combined with the j_password, it will be used to provide one time authentication.
j_password(Optional)
The password of the user making this request. Combined with the j_username, it will be used to provide one time authentication.
verbose(Optional)
The verbose level of the response. It has to be 0,1,or 2. Default is 2.

Example Response

#EXAMPLERESPONSE#

Error Codes

128 : rest.api.httpsReqired
HTTPS protocol is required for one time authentication.
247 : rest.user.invalidUserToken
The userToken provided in the request is not valid.
248 : rest.user.invalidUserTokenExpired
The userToken provided in the request has expired.
224 : rest.user.logginFailed
The username or the password provided in the request is not valid. Authentication failed.
100 : rest.api.serviceUnavailable
The REST API service in temporarily unavailable
118 : rest.api.invalidApiKey
The api key provided in the url is not valid.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
131 : rest.api.tooManyRequests
The number of requests made has exceeded the limit of this apiKey.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
132 : rest.api.gapNotEnough
The request has to be made after a certain period of time associated with this apiKey
114 : rest.api.verboseNotInt
The verbose level provided in the request is not a valid integer
115 : rest.api.invalidVerbose
The verbose level provided in the request is invalid, it has to be 0, 1,or 2
109 : rest.api.noNumOfResultsProvided
No numOfResults has been provided in the request
111 : rest.api.numOfResultsNotInteger
The numOfResults provided in the request is not a valid integer
112 : rest.api.numOfResultsNegative
The numOfResults provided in the request is negative
105 : rest.api.noOffsetProvided
No offset has been provided in the request
107 : rest.api.offsetNotInteger
The offset provided in the request is not a valid integer
108 : rest.api.offsetNegative
The offset provided in the request is negative
201 : rest.user.noUserNameProvided
No user name has been provided in the request
203 : rest.user.invalidUsername
The user name provided in the request is not valid. A valid user name should only contain alphanumeric characters (0-9)(A-Z) between 3 and 40 characters long.
272 : rest.user.errorRetrieveFriends
An error occurred while retrieving friends.
200 : rest.user.uesrNotFound
User is not found
228 : rest.user.friendsNotPublic
This user does not allow his/her friends to be viewed by public.

API Explorer

API Explorer : veoh.people.getConfirmedFriends

Copyright © 2008 Veoh Networks, Inc.  |  Terms of Use  |  Copyright  |  Privacy Policy