Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SP.Social.SocialFeedManager.createPost Method (sp.userprofiles)

SharePoint 2013

Creates a microblog post or reply.


                      SP.Social.SocialFeedManager.createPost(targetId, creationData)
targetId

String
null for a root post, the ID of a post to reply to, or the URL of a site feed.

creationData

SP.Social.SocialPostCreationData
The new post's content and related information.

SP.Social.SocialThread
A digest of the new or modified thread.

The value of the targetId parameter can be one of the following:

  • null to publish a root post to the current user's feed.

  • The thread ID of a post to reply to.

  • The URL of a site feed to post to (for example: http://<siteURL>/newsfeed.aspx).

Other resources

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.