Skip to content

Add capabilities support to feedItem#2

Open
kbromer wants to merge 2 commits intojeffdonthemic:masterfrom
kbromer:master
Open

Add capabilities support to feedItem#2
kbromer wants to merge 2 commits intojeffdonthemic:masterfrom
kbromer:master

Conversation

@kbromer
Copy link

@kbromer kbromer commented Jun 9, 2015

Support an optional capabilities argument to allow the user to pass JSON-structured Chatter capabilities to be appended to the feedItem such as 'link', etc.

Capabilities

var id = '00580000005eABFAA2';
var text = 'Post text';
var capabilities = {'link': { "urlName":"My Link","url":"http://www.mylink.com"}};
org.chatter.postFeedItem({id: id, text: text, capabilities: capabilities}, function(err, resp){});

Kevin Bromer added 2 commits June 9, 2015 14:09
…SON-structured Chatter capabilities to be appended to the feedItem such as link, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant