• SFDeveloper999
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi,

  I am fetching the Chatter group posts through Web service (Partner WSDL) and want to display the user's profile image along with the post. The problem is that the SmallPhotoUrl returned by the web service required the user of the web page to be logged in which is not possible in my case because I am displaying the results in my SharePoint webpart.

 

I have seen that when I receive Chatter daily digest email for Chatter group, it does show the image without asking me to login first. Can somebody please guide me how can I construct the url for profile image of the user without asking the user to login first.

 

Regards,

SF Developer 999

With the new API 20.0 version, seems like we get access to photos using SmallPhotoUrl and FullPhotoUrl, but seems like i need to have my salesforce session while accessing these images.

 

I have 2 requirements:

 

1. Way to download the image (get Image method)

2. Or an external shared image which can be accessed without salesforce session,

 

Is it possible with new API 20?