Parameters
Single Post
Observe a single post when a detail screen should update as post data, counters, or moderation state changes.Multiple Posts by ID
Fetch a known set of post IDs when your app already has exact IDs and does not need a paged feed query.The current Flutter public post repository exposes single-post retrieval through
live.getPost(postId) and the deprecated getPost(postId) future, but it does not expose a public batch get-by-IDs method.Notes
- Keep the unsubscriber or notification token so you can dispose the live object when the screen is destroyed.
- Use query APIs when you need a feed, pagination, filtering, or real-time collection updates.
- Batch lookup skips invalid IDs on iOS collection results; handle an empty collection as a valid outcome.
Related Topics
Query Posts
Query posts by feed target, post type, review status, or tags.
Viewing Content
Render post data and child media safely.
Post Overview
Review post structure and post data types.