FAQ/API Documentation/Photo Resources

Get Photo Source

Lockerz Admin
posted this on December 05, 2010 06:46 pm

This call will let you know what application the photo was uploaded from into the API.

URL

<API_Endpoint>/getsource?photoid={PhotoId}

HTTP Method

GET

Formats

XML, JSON, JSONP

Authenticated

No

Input

{PhotoId} - Id of a photo.

Contents

N/A

Output

PhotoSource

Parameters

N/A

Error Codes

400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.
404 NotFound, 10007 PhotoDoesntExist - {PhotoId} does not exist. 
403 Forbidden, 10031 ProfileIsFriendsOnly - Photo owner has their profile set to "friends only" and the caller is not a friend.

Notes

N/A

Example

curl -X GET http://api.plixi.com/api/tpapi.svc/getsource?photoid=1468

 
Topic is closed for comments