A common approach to share, repost or "retweet" an activity -
There is an option to repost an activity -
You can use reactions for this: just add a reaction with a title repost and use targetFeeds
to send the activity to the other users' feed.
const comment = await client.reactions.add(
'repost',
activity,
{},
{ targetFeeds: [`${feedGroup}:${userId}`]}
);
Example
const comment = await client.reactions.add(
'repost',
{id: '6d47e970-d317-11eb-8080-800109d57843'},
{},
{
targetFeeds: ["timeline:seetha"]
}
);
Comments
0 comments
Please sign in to leave a comment.