Appearance
A reply to a story
What the person sees. They open a person's stories from the story ring on the profile and type a reply under the story in front. The reply goes to the story's author as a Direct message that carries the story and the text.
What you do. A profile is a UserProfileScreen handle. Its openStories() opens the stories viewer on the first story its ring's answer lists, and the viewer's reply(text) sends the reply to the story's author.
ts
import { AndroidIgpapi, FeedTimelineScreen } from '@igpapi/android';
import { Effect } from 'effect';
import { readFile } from 'node:fs/promises';
const saved = JSON.parse(await readFile('session.json', 'utf8'));
await AndroidIgpapi.launch({
checkpoint: saved,
screen: FeedTimelineScreen,
main: feed =>
Effect.gen(function* () {
const tab = yield* feed.openSearchTab();
const field = yield* tab.openSearchInput();
const typed = yield* field.change('instagram');
const account = typed.results.find(result => result.id === 'SearchInputUserResult');
if (account === undefined || account.id !== 'SearchInputUserResult') return;
const profile = yield* account.openProfile();
// The ring opens the viewer on the first story its answer lists; the reply goes to the author.
const viewer = yield* profile.openStories();
return yield* viewer.reply('Great story');
}),
});What you get. The reply in the conversation with the story's author: the broadcast's answer, its payload.item_id the message the conversation now holds.
The wire. POST api/v1/direct_v2/threads/broadcast/reel_share/?media_type=photo with the author's user id as recipient_users, the story's container id as media_id, the author's id as reel_id, entry=reel, send_attribution=reel and the text — the Android 451 app's own form.
What this page does not show. No screenshot of this type is published: the only recording of it is a reply to a real person's story, and its frames show that person and a private conversation. A recording with a test account's story would add them; the type itself is what this page describes.
The reelShareMessage brick remains for a caller that composes the broadcast itself: reply(text) sends the form above.