/
Pulsar Chatter API
Pulsar Chatter API
Chatter Object Feeds
getfeed
The 'chattergetfeed' request will provide access to object-related chatter feeds, as synced by Pulsar Chatter object sync configuration.
var request = { 'type' = 'chattergetfeed', 'data' = { 'ParentId' : '123456789ABCDEFGHI', '@@after_date' : '2017-07-11T04:31:06.000+0000', // optional -- query all FeedItems after a specific datetime in SFDC format '@@before_date' : '2017-07-12T04:31:06.000+0000', // optional -- query all FeedItems before a specific datetime in SFDC format 'orderBy' : 'CreatedDate ASC' // optional -- SQL order by clause without 'ORDER BY'. Note, field(s) must exist in the FeedItem table. } }; bridge.sendRequest(request, function(responseData) { console.log('chattergetfeed: ' + responseData); if (responseData.type === "chatterGetFeedResponse") { console.log('success'); // success actions - responseData.data contains an array of FeedItem objects } else if (responseData.type == 'error') { var errStr = responseData.data; console.log('A problem occurred:\n' + errStr); } });
postfeed
The 'chatterpostfeed' request allows posting to object-related chatter feeds. Chatter comments are added using the 'ParentFeedItem' parameter. Chatter attachments are not currently supported through this API.
var request = { 'type' : 'chatterpostfeed', 'data' : { 'Message' : 'This is the text of the chatter post', 'Parent' : '123456789ABCDEFGHI', 'ParentFeedItem' : '0987654321HGFEDCBA' } }; bridge.sendRequest(request, function(responseData) { console.log('chatterpostfeed: ' + responseData); if (responseData.type === "chatterPostFeedResponse") { console.log('success'); // success actions - responseData does not contain FeedItem data } else if (responseData.type == 'error') { var errStr = responseData.data; console.log('A problem occurred:\n' + errStr); } });
, multiple selections available,
Related content
Offline Chatter Configuration and Settings
Offline Chatter Configuration and Settings
More like this
Pulsar Attachment API
Pulsar Attachment API
Read with this
Pulsar General Information API
Pulsar General Information API
More like this
Pulsar Platform - JS Bridge API
Pulsar Platform - JS Bridge API
Read with this
Pulsar Deep Links
Pulsar Deep Links
More like this
How Does Pulsar use API Calls?
How Does Pulsar use API Calls?
More like this