Lockerz Admin
posted this on December 05, 2010 07:13 pm
This call will let a user favorite a photo.
<API_Endpoint>/users/{User}/favorites/{PhotoId}
POST
XML, JSON
Yes
{User} - Alias or Id for a user.
{PhotoId} - Id of a photo.
N/A
AddFavoriteOperationResponse
<SessionKeyOperationResponse>
<BroadcastMessage>I just favorited this photo</BroadcastMessage>
</SessionKeyOperationResponse>
{"BroadcastMessage":"I just favorited this photo "}
N/A
N/A
N/A
curl -X POST http://api.plixi.com/api/tpapi.svc/users/723/favorites/1529 -u bbbb@foo2.com:password -H "TPSERVICE:Plixi"