Share via


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

Creates an image attachment for a microblog post.

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

SP.Social.SocialFeedManager.createImageAttachment(name, description, imageData)

Parameters

  • name
    String
    The name of the image.

  • description
    String
    An optional description of the image.

  • imageData
    A stream for reading the image data.

Return value

SP.Social.SocialAttachment
An image attachment for a post.

See also

Other resources

SocialFeedManager