This documentation is archived and is not being maintained.

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)


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


The new post's content and related information.

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