1

I'm setting up some custom Visualforce pages to be used in communities. When a user logs in, I want to use their image from the Social Account as a thumbnail image. But I can't seem to find the variable to be used as the image src.

What's the code I should use for the image src?

0

On user Object you can find field 'FullPhotoUrl' and 'SmallPhotoUrl'. You can use them to get the URL oof the user's profile picture

User

  • I guess it's about social accounts and contacts not just photourl .. – Mohith Shrivastava Feb 17 '16 at 6:51
  • @MohithShrivastava you mean FB, Twitter here. In that case he need integration. But i am not sure. – Tushar Sharma Feb 17 '16 at 6:53
  • Social contacts in SFDC has those if you see . – Mohith Shrivastava Feb 17 '16 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.