在 SFDC 之外显示 salesforce 用户公共图像

Kai*_*dav 1 php rest salesforce

我正在获取 salesforceUsers.SmallPhotoUrl并使用 api 将其显示在我的php页面上rest。但仅当您在同一浏览器中登录 Salesforce 时,它​​才有效。

有什么解决办法吗?

Kai*_*dav 5

经过如此多的尝试,我找到了解决方案,您可以将其access_token与 in 格式一起传递Users.SmallPhotoUrl,例如https://path_to_salesforce_image?oauth_token=your_acccess_token

希望它对你们有用