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, 4 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

    lightning data service

    Lightning Data Service (LDS) in Salesforce

    Blog in Others

    If we have a lightning application that Creates, Reads, Updates or Deletes a record (basically CRUD operations) in the Salesforce database, Lightning Data Service (LDS)…

    App Server, CRUD Operations, Database Server, Independent Call, Layout Type
    Anurag algoworks May 26, 2020
    33,843  Views

    New Integration Alert — CRMJetty Salesforce Portal Gets Even More Powerful

    Blog in Salesforce

    Today, business organizations do not require a CRM system as the way of maintaining a relationship with a customer. They require solutions that would facilitate…

    Customer Portal, Partner Portal, Salesforce, Salesforce Integration
    CRMJetty Mar 30, 2026
    356  Views

    Guide to Salesforce Service Cloud Implementation

    Blog in Salesforce Cloud Platform

    In today’s fast-paced digital world, exceptional customer service can be the defining factor that sets businesses apart. Salesforce Service Cloud implementation offers a powerful solution…

    Dean Sep 5, 2025
    810  Views

    Popular Salesforce Videos

    4 Myths About Salesforce

    4 Myths About Salesforce

    Video in Salesforce Stories

    Salesforce is a platform that helps businesses track the journey their customers take. It can help you effectively track and monitor your marketing and sales…

    salesforce, Customers, Business, Marketing, Salesforce Partners
    Algoworks Nov 29, 2021
    2,049  Views
    Tracking Member Engagement with Scoring and Dashboards

    Tracking Member Engagement with Scoring and Dashboards

    Video in Analytics

    More than half of organizations with a member engagement plan reported that it helped them increase: Membership renewals by 51%. Attendance at events and webinars…

    Salesforce Tutorial, salesforce, Salesforce Video, Digital Engagement, dashboards
    Aplusify Jun 24, 2024
    577  Views
    The Salesforce and Stripe Integration Solution

    The Salesforce and Stripe Integration Solution

    Video in Salesforce Integration

    Salesforce professionals choose us because we’re different. Our intuitive software connects Salesforce with Stripe and is simple to set up and configure and safe and…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Video
    Algoworks Jul 28, 2021
    1,673  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.