Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Can we update profile picture of user on onCreateUser()?

    Tagged: Chatter, ConnectApi, Profile Picture, Salesforce Apex, Salesforce Login, Salesforce SOQL, Social ProfileViewer

    • Salesforce® Discussions

      Can we update profile picture of user on onCreateUser()?

      Posted by Nitish on April 30, 2016 at 5:05 PM

      I use ConnectApi to modify picture of User in custom salesforce login (Facebook, Twitter...), like this:

      global void updateUser(Id userId, Id portalId, Auth.UserData data){
      ...
      ConnectApi.ChatterUsers.setPhoto(communityId, userId, fileUpload);
      ...
      }

      Anyone please help.

      Gourav replied 10 years, 5 months ago 2 Members · 1 Reply
      • Chatter
      • ConnectApi
      • Profile Picture
      • Salesforce Apex
      • Salesforce Login
      • Salesforce SOQL
      • Social ProfileViewer
    • 1 Reply
    • Gourav

      Member
      June 13, 2016 at 2:07 PM

      Crate a method to updateAvatar(...) in this method you can use "ConnectApi.ChatterUsers.setPhoto method..." to update chatter avatar by twitter/fb avatar.

      Hope this will help you!

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Configure Salesforce SAML Single Sign-On in 2024

    Blog in Salesforce integration

    Configuring Salesforce SAML Single Sign-On (SSO) is a critical step in enhancing both the security and user experience within your organization. SAML (Security Assertion Markup…

    Assertion Consumer Service, Authentication Certificate, Authentication Flow, Authentication Parameters, Authentication Security
    Kizzy Consulting Sep 9, 2024
    815  Views
    Salesforce Territory Management

    Salesforce Territory Management in 2024

    Blog in Sales

    In the dynamic world of sales, managing territories effectively can make a significant difference in maximizing sales performance and enhancing customer relationships. Salesforce Territory Management…

    Salesforce Implementation, Salesforce Sales Cloud, Salesforce Territory Management, Territories in Salesforce
    Kizzy Consulting Jul 23, 2024
    782  Views

    How Salesforce Boosted the Reach of MrBeast’s $1M Puzzle

    Blog in Salesforce

    Salesforce partnered with YouTuber MrBeast for a groundbreaking Super Bowl campaign that turned a traditional ad into an interactive $1 million puzzle hunt, massively amplifying…

    analysis of Salesforce data insights used in MrBeast puzzle promotion, how creators can use Salesforce to replicate MrBeast’s viral success, how Salesforce helped amplify MrBeast $1M puzzle campaign, Salesforce automation tactics that improved MrBeast puzzle reach, Salesforce CRM techniques behind MrBeast’s $1M viral challenge
    iTechcloud Mar 5, 2026
    542  Views

    Popular Salesforce Videos

    Lead Together with Salesforce | Salesforce Partners

    Lead Together with Salesforce | Salesforce Partners

    Video in Salesforce Stories

    Learn more about the Equality Programs and initiatives that are available to Salesforce Partners, including the Salesforce Talent Alliance. Watch this video to learn all…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Guide, Salesforce Video
    Nauman Aug 4, 2021
    1,922  Views
    Uncomplicating Sales with Salesforce CPQ

    Uncomplicating Sales with Salesforce CPQ

    Video in Salesforce Products, Sales

    Sales representatives spend 34 percent of their time doing actual sales, while a staggering 66 percent of their time generating quotations, ideas, and gaining approvals,…

    salesforce, CPQ, Salesforce Video, sales, Salesforce Learning
    Algoworks Sep 25, 2020
    1,912  Views
    How to Enable and Create the B2B Marketing Analytics App in Salesforce

    How to Enable and Create the B2B Marketing Analytics App in Salesforce

    Video in Marketing

    This video will walk through the steps to enable Pardot B2B Marketing Analytics in Salesforce Setup, and the creation of the B2BMA app. Prerequisites and…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Setup
    Rupal Kakkar Jan 27, 2022
    3,416  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.