Skip to main content
Text posts publish written content to a user feed, a community feed, or the current user’s own feed. Use them for plain updates, status messages, and posts that attach structured link metadata.
The text is the parent post content. The SDK creation fields below describe the SDK API; UIKit’s product-tag UI is a separate surface and may support fewer post types. See UIKit Product Tagging for the UI-specific coverage.

Flexible Targets

Publish to user feeds, community feeds, or the current user’s feed depending on the SDK target API.

Optional Enrichment

TypeScript, Android, and iOS can attach structured links during text post creation.

Parameters

Product tags (SDK API). productTags tags products mentioned in the post text. Each tag names a product and the character range it covers in that text. Media product tags do not apply to a text-only post. When a post also has media, the text remains on the parent and the media is a child; use the media page’s attachmentProductTags for that child. See Image Post or Video Post for those fields. Flutter does not expose product tags on any post builder. For tagging limits and tap-through behavior, see Product Tagging.

Create a Text Post

The examples below create a text post in a community. Use the equivalent user target method or target type when posting to a user feed.
TypeScript, Android, and iOS expose a links field when creating a text post. Fetch preview metadata first if the post should render a preview card.
Flutter’s current public post creation builder supports text, metadata, and user mentions, but it does not expose a structured links payload on the text post builder.

Tag Products in the Text

TypeScript, Android, and iOS accept a productTags array when creating a text post. Each tag names a product and the character range it covers in the post text, so UIKit can render that range as a tappable product mention.
Set index and length against the same string you pass as text. In the examples below, featured product starts at index 12 and is 16 characters long. iOS stores only the range. TypeScript and Android also carry the matched text.

Query Text Posts

Post query APIs are SDK-specific. For TypeScript, PostRepository.getPosts returns a live collection through a callback instead of a promise, so do not call it with await. For structure type values and filtering behavior, see Posts Overview and Mixed Media Posts.

Posts Overview

Review post concepts, retrieval, and moderation flows.

Query Posts

Load text posts back into feed and detail screens.

Mentions

Add user mention payloads where the platform exposes them.