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
jhennyjhenny 

SocialPostAPIName

The case feed dev guide specifies a method to interact with the social publisher,
i.e.: SocialPostAPIName.SocialPost

Found here:
https://developer.salesforce.com/docs/atlas.en-us.case_feed_dev.meta/case_feed_dev/case_feed_dev_guide_component_interactions.htm

What are the values that can be specified for "SocialPostAPIName"

I have tried "Twitter" unsuccessfully
Best Answer chosen by jhenny
jhennyjhenny
Figured it out - I found the API name within the page layout editior, by hovering over the action in the quick actions menu:
 
Sfdc.canvas.publisher.publish({
        name:"publisher.selectAction",
        payload:{actionName:"Case.SocialPublisher"}
      });

      Sfdc.canvas.publisher.publish({
        name:"publisher.setActionInputValues",
        payload:{
            actionName:"Case.SocialPublisher",
            targetFields:{content:{value:"Hello World", insertType:"cursor"}}
        }
      });

 

All Answers

Andy BoettcherAndy Boettcher
The documentation doesn't have any examples, but it literally looks like "SocialPostAPIName.SocialPost" IS the literal value for the publisher.selectAction method.
jhennyjhenny
Figured it out - I found the API name within the page layout editior, by hovering over the action in the quick actions menu:
 
Sfdc.canvas.publisher.publish({
        name:"publisher.selectAction",
        payload:{actionName:"Case.SocialPublisher"}
      });

      Sfdc.canvas.publisher.publish({
        name:"publisher.setActionInputValues",
        payload:{
            actionName:"Case.SocialPublisher",
            targetFields:{content:{value:"Hello World", insertType:"cursor"}}
        }
      });

 
This was selected as the best answer