Skip to content

Function: shareStory() ​

ts
function shareStory(
   client, 
   storyId, 
   target
): Promise<{
[key: string]: unknown;
  item_id?: string;
  thread_id?: string;
  timestamp?: string;
}>;

Shares a story (by its full id, pk_ownerPk) into a thread or to users. Only stories visible to the account can be shared.

Parameters ​

ParameterType
clientPrivateClient
storyIdstring
targetSendTarget

Returns ​

Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.