Skip to main content
Story target APIs let you render story rings without fetching every story. A story target tells you whether a target has unseen stories and, where supported, how many local stories are syncing or failed. The examples below use community targets.

Parameters

Single Story Target

Observe one story target when rendering a story ring for a known community or user target.
Flutter’s single-target live helper is spelled getStoryTaregt in the current SDK.

Multiple Story Targets

Observe multiple story targets when building a tray that shows state for several targets at once.

When to Use Story Targets

  • Use story targets for story tray rings, unseen indicators, and sync/error badges.
  • Use Get Stories when you need the actual story media and items.
  • Use Get Global Story Targets when you need a global discovery feed of active story targets.

Get Stories

Retrieve story objects and collections.

Global Story Targets

Query story targets across the app.