This documentation is archived and is not being maintained.

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

SharePoint 2013

Creates an image attachment for a microblog post.

Last modified: June 25, 2013

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

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

name

String
The name of the image.

description

String
An optional description of the image.

imageData

A stream for reading the image data.

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

Show: