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
orangemanorangeman 

Chatter API - webrequest to download photo from smallphotourl

Folks,

 

I am using Chatter web services API to get the smallphotourl from the user table. But how can I actually download this photo? I want to use this photo in an ASP.net website. If I try a httpwebrequest to this smallphotourl, I get a html with JavaScript back, not the actual image! Can anyone help?

 

TheSwamiTheSwami

I developed a Java program to download all the Chatter Images in an org:

http://code.google.com/p/chatter-image-magic/

 

You could use it as is, or look at the code and copy what you need.