function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to access user profile picture outside salesforce?

I want to display user profile picture in my nodejs connected app. It is working on chrome due to some sort of caching but its not working on safari for iphone/ipad and even when I use web container for android and ios.
AnudeepAnudeep (Salesforce Developers) 
Hi Sumit, 

Are you using chatterapi to retrieve the profile picture? Do you see any errors in the console log in safari? 

Hi Anudeep,

I am using jsforce to get SmallPhotoUrl field on User object. I dont see any error in web inspector of safari. Also when I click on image URL in safari it redirects to salesforce login page but works fine on chrome.