You need to sign in to do that
Don't have an account?
orangeman
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?
I haven't tried it, but saw this blog post today.
http://blog.sforce.com/sforce/2011/03/accessing-chatter-user-pics.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+SforceBlog+%28Force.com+Blog%29
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.