Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/248.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在SFDC外部显示salesforce用户公共映像_Php_Rest_Salesforce - Fatal编程技术网

Php 在SFDC外部显示salesforce用户公共映像

Php 在SFDC外部显示salesforce用户公共映像,php,rest,salesforce,Php,Rest,Salesforce,我正在获取salesforce Users.SmallPhotoUrl,并使用RESTAPI将其显示在我的php页面上。但只有当您在同一浏览器中登录Salesforce时,它才起作用 有什么解决办法吗?经过多次尝试,我找到了解决方案,即您可以将access\u令牌与Users.SmallPhotoUrl一起以如下格式传递https://path_to_salesforce_image?oauth_token=your_acccess_token 希望它对你们有用经过这么多的尝试,我发现了一个解决

我正在获取salesforce Users.SmallPhotoUrl,并使用RESTAPI将其显示在我的php页面上。但只有当您在同一浏览器中登录Salesforce时,它才起作用


有什么解决办法吗?

经过多次尝试,我找到了解决方案,即您可以将access\u令牌与Users.SmallPhotoUrl一起以如下格式传递https://path_to_salesforce_image?oauth_token=your_acccess_token


希望它对你们有用

经过这么多的尝试,我发现了一个解决方案,那就是你可以将access\u令牌和Users.SmallPhotoUrl以如下格式传递https://path_to_salesforce_image?oauth_token=your_acccess_token

希望对你们有用