Event Cloud makes it easy to grab your users' profile image from the API! Use this to showcase your wonderful Speakers on a session catalog, mobile app, or marketing website.
This article will go over how to get this data from our API feed.
Getting the Profile Image
The profile image lives on the Users endpoint. Make a GET request to this endpoint to get started.
GET https://ngapi.hubb.me/api/v1/[eventId]/Users
Tip: Remember you can use OData Query Parameters to $filter down the data or $select only certain fields.
In the data that this call returns, you'll find a field called PhotoLink:
"PhotoLink": "https://hubb.blob.core.windows.net/346717d1-68cc-4879-9035-7feff79c3a9a-profile/554294-cbde831c-6a65-4ade-b982-667b79384638"
This is a URL of the profile image for the user.
Comments
Please sign in to leave a comment.