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

    Harnessing the Power of Salesforce Health Cloud API: Integration Tips and Tricks

    Blog in Salesforce

    In today's fast-paced healthcare environment, leveraging technology to streamline processes and improve patient care is crucial. Salesforce Health Cloud, with its powerful API capabilities, offers…

    API Analytics, API Caching Strategies, API Custom Fields, API Data Encryption, API Data Masking
    SP Sep 9, 2024
    597  Views
    Object Relationships in Salesforce

    Different Types of Object Relationships in Salesforce

    Blog in Salesforce

    In Salesforce, we can associate one object with another object. We can create the relationship by creating a custom relationship field of an object. By…

    Child Object, Child Records, custom object, Custom Relationship Field, Junction Object
    arpit Jun 21, 2022
    3,990  Views

    Bridging the Gap: ChatGPT Integration for a Smarter Salesforce

    Blog in Salesforce Consultant

    AI is here! Where are you? The success of your business hinges on how effectively your sales representatives manage customer relationships. To achieve this, your…

    api-integration, Business Automation, Business Efficiency, ChatGPT Capabilities, CRM Optimization
    Codleo Aug 2, 2024
    787  Views

    Popular Salesforce Videos

    Mastering the VLookUp Function | Salesforce Tutorial

    Mastering the VLookUp Function | Salesforce Tutorial

    Video in Salesforce Training, Salesforce Admin

    Watch this amazing video tutorial and follow these steps to effectively use the VLookUp function for data import purposes in your Salesforce database. If you…

    Salesforce Training, Salesforce Tutorial, Salesforce Data, Salesforce Database, Salesforce Video
    SkyPlanner Jun 17, 2021
    4,087  Views
    Creating Datasets - Tableau CRM | Salesforce Tutorial

    Creating Datasets - Tableau CRM | Salesforce Tutorial

    Video in Data, Salesforce Training

    Recipes provide an easy way to update, combine and transform your sources into the datasets you'll use to drive your dashboards. You'll see how to…

    Salesforce Training, Salesforce Tutorial, salesforce, CRM, Salesforce Video
    Vivek Jan 4, 2022
    2,728  Views
    How to Set Up Salesforce Knowledge in Service Cloud

    How to Set Up Salesforce Knowledge in Service Cloud

    Video in Salesforce Cloud Platform

    Help your customers and agents find answers they are searching for faster with Salesforce Lightning Knowledge. In this video, we will review: - All components…

    Salesforce Training, Salesforce Tutorial, Salesforce Lightning, salesforce, salesforce knowledge
    Prafull Apr 19, 2021
    3,009  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.