Custom Post

If you'd like to display content on your app that cannot be represented by the available text, image, video, and file post types, you can create your own custom post type. Custom post types allow you to include the necessary data for rendering, such as additional metadata and custom data formatting. This is useful if you want to present specific types of content to your users.

To create a custom post type, you can query the user, community, or global feed using our SDK's APIs. Please refer to Feed. For additional information on rendering custom posts with UIKit, please see Post Rendering.

  • dataType - a string that defines the type of the post so you can distinguish your new post from others

  • data - a free-form JSON object that can be customized based on your use cases.

  • attachments - images and other files you want to include in your post. You can only attach one file type. This means that it must either be all images, all files, or all video files.

  • tags - text that will be used in post query. You can add up to five tags. Each tag can have a maximum length of 24 characters.

The dataType parameter should have the custom prefix.

The functionality isn't currently supported by this SDK.

Please refer to the web API for custom post creation.

Last updated

Change request #3026: New Content: Technical FAQ