Clip Post

Prior creating a clip post, it is crucial to upload the video for the clip that will be included in the post data to ensure that the necessary information is accessible and can be linked to the post. This requires uploading the clip first, to obtain the clip data that will be used in creating the clip post. To upload a clip, please refer to Upload Videos

Upon successful completion of the upload process, you can include the clip data as a parameter when creating a cilp post, as demonstrated in the code sample below.

Here's an explanation of the method's parameters:

  • text: This is a required parameter of type String, which represents the text content of the new post. You can pass in any text you want to include in the post, up to a maximum length of 20,000 characters.

  • clip: Which represents clip uploaded by the user on Android, iOS.

  • targetId - Id for the target, either a user id or a community id.

  • targetType - Type of the target, either a particular community or a user feed.

  • metaData - Additional properties to support custom fields or mentions

Requirements for Clip

  • Supported video types are 3gp, avi, f4v, flv, m4v, mov, mp4, ogv, 3g2, wmv, vob, webm, mkv

  • The maximum file size limit is up to 2 GB.

  • The maximum duration of the clip is 15 minutes

  • A post can have 1 clip

  • Uploading HDR video format is not supported on iOS.

Last updated

Was this helpful?