FAQ/API Documentation/Photo Resources

Image From URL

Lockerz Admin
posted this on December 05, 2010 07:18 pm

This call will let you get an image from a photo URL.

URL

<API_Endpoint>/imagefromurl?url={TweetPhotoUrl}

HTTP Method

GET

Formats

XML, JSON

Authenticated

No

Input

{TweetPhotoUrl} - Url of a photo.

Contents

N/A

Output

Returns a status code of 301 MovedPermanently with the "Location" set to a redirected url.

Parameters

big - original
medium - 600px scaled
mobile - 320px scaled
small - 150px cropped
thumbnail - 79px cropped

request it like this: 
http://api.plixi.com/api/tpapi.svc/photos/73832124
or 
http://api.plixi.com/api/tpapi.svc/imagefromurl?url=http://plixi.com/p/73832124&size=small

Error Codes

N/A

Notes

N/A

Example

http://api.plixi.com/api/tpapi.svc/imagefromurl?url=http://plixi.co...

Description:

 
Topic is closed for comments