Can't find the contact photo function in NodeJS SDK
AnsweredI want to display contacts by NodeJS SDK, however, I can't find the contact photo, how can I get this function, I can get it through RainbowSDK.getContact().getPhoto() on android SDK, but on NodeJS SDK, it doesn't have this method..
-
Hi,
Meantime you can create the avatar url, if any with:
On Production:
https://cdn.openrainbow.com/api/avatar/<user id>?size=256On the Sandbox
https://sandbox.openrainbow.com/api/avatar/<user id>?size=256Best regards,
Pascal -
Hi, docs updated, SDK updated.
New API: https://hub.openrainbow.com/#/documentation/doc/sdk/node/api/contacts#Contacts+getAvatarByContactId
Please sign in to leave a comment.
Comments
3 comments