Image Post

Upload Image

Before you can create an image post, you must first upload the image that you will add to your post. Refer to the File Upload section for the instructions.

Create Image Post

The sample code below shows how to create an image post.

An image post data structure is:

normalPostStructure + {
  dataType: “image”,
  data: { imageId: File[“fileId”] }
}
  1. Updating image post is not yet supported.

  2. Refer to Post target type for a more detailed explanation of the targetType parameter.

Create an image post with mention

You can mention users in a post. The sample code below shows how to create an image post with mention.

Last updated