function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

connect and update Community using Oauth

We have a Customer Community based on the Napili template. We need to reset values on a field in Topic records which Salesforce support says must be done using the Chatter API.  I tried to do this using cURL and username-password OAuth authentication, but to connect to a Community requires using the  OAuth Web server or user-agent workflows.  These appear to require creating an application to manage the process of user authentication and handling of the token to use for my update requests.  Does anyone have experience with this or know where I can find better detail than the Salesforce documentation on how to accomplish this?
Which Chatter REST API resource are you using? 
Hi Jody, That you for your response. I’m not sure what you’re asking, but I am referencing the instructions in the Chatter REST API Developer’s Guide. In the Chatter REST API Quick Start section, I am trying to implement the instructions in the Connecting to Salesforce Communities topic. As I mentioned below, I am trying to update a field in Topic records. Thanks & Regards, Jeff
Hi Jeff,

You should be able to use the username/password OAuth flow from cURL:

This is the Chatter REST API resource that adds and removes topics from records:

Here's another forum thread that should be useful: