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

Anonymous post to chatter via API

Is it possible to post a feed item anonymously or from an external application without a salesforce user association? It'd be grand to be able to post to a records feed without a user association.





do you want it to do it ever time or can the user select it. You could create a user named Anonymous and then code it so that the ParentId is the Id of the "Anonymous" user. That would be very simple if it were being fired from a trigger. Not sure how to tackel that outside of using a trigger.


If you are referring to the Chatter REST API, no this is not possible. You need an OAuth access token to make a post - you need some sort of authentication somewhere. However, your application may be authorized for a user ahead of time such that anonymous users can make posts through it without logging in themselves.