Targeting with TO Field
Confused about "Targeting with TO Field"?
Let us know how we can improve our documentation:
The TO
field allows you to specify a list of feeds to which the activity should be copied. One way to think about it is as the CC functionality of email.
Use Case: Mentions
Copied!Confused about "Use Case: Mentions"?
Let us know how we can improve our documentation:
Targeting is useful when you want to support @mentions and notify users. An example is shown below:
TO
field is limited to a maximum of 100 targets per API request.Use Case: Organizations & Topics
Copied!Confused about "Use Case: Organizations & Topics"?
Let us know how we can improve our documentation:
Another everyday use case is for teams, organizations or topics.
For example, one of our customers runs a football community. Updates about a player should also be added to their team's feed. Stream supports this by adding the activity to the player's feed, and specifying the target feeds in the TO
field:
Update to targets
Copied!Confused about "Update to targets"?
Let us know how we can improve our documentation:
To targets can be updated later on to change where the activity is copied. This API requires server side auth and requires foreign id and time.