Description

Anybody can view or render the actual profile image of any person using the public id (object_id) of any person.

Endpoint URL:

 GET https://{your-endpoint-domain.com}/activityid/public/v1/image

Request parameters

ParameterDescriptionType
user_idThe permanent, universally unique identifier for the object of type person. This id can be obtained from the JSON response of the login processstring

Query parameters

ParameterDescriptionType
widthOptional. Restrict the picture width to this size in pixels. When height and width are both used, the image will be scaled as close to the dimensions as possible and then cropped down. By default is 200.int
heightOptional. Restrict the picture height to this size in pixels. By default is empty.
int
redirectOptional. It will by default return the picture itself and not a JSON response. To return a JSON response, you need to set redirect=false as a request attribute. By default is true.
boolean

Request example

GET /activityid/public/v1/image/{{user_id}}[?width={{width}}][&height={{height}}][&redirect={{redirect}}] HTTP/1.1

Host: graph.cocacola.es

Response