Created
October 11, 2012 18:23
-
-
Save saurabhrawane/3874483 to your computer and use it in GitHub Desktop.
Code Snippet to display chatter photos on Sites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enterpriseSoapSforceCom.LoginResult lr = new enterpriseSoapSforceCom.LoginResult(); | |
enterpriseSoapSforceCom.Soap sp = new enterpriseSoapSforceCom.Soap(); | |
sp.timeout_x = 60000; | |
// Admin Username and Password | |
lr = sp.login('username','password'); | |
photoURL = 'https://c.na9.content.force.com/profilephoto/729E00000001NKg/T?oauth_token='+lr.sessionId; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment