Export (0) Print
Expand All

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

SharePoint 2013

Creates a microblog post or reply.

Last modified: June 25, 2013

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

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).

Show:
© 2014 Microsoft