igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.0
    Preparing search index...

    Variable PostingGalleryPickerScreenConst

    PostingGalleryPickerScreen: ScreenDefinition<
        "PostingGalleryPicker",
        "screen",
        { origin: "feed"
        | "reels-tab" },
        { creationSessionId: string; mode: "post"; origin: "feed" | "reels-tab" },
        PostingGalleryPickerState,
        never,
        MobileSession | MobileNavigation | AndroidPostingMedia | MobileUserFlows,
        PostingGalleryPickerActions,
        Record<never, never>,
        "PostingPostEdit" | "PostingCamera" | "PostingReelEditor",
        never,
    > = ...

    GalleryPickerFragment:gallery_picker, the screen the feed's bottom-bar create button opens (Android 451): the person's photos and videos in a grid, under the mode selector that offers POST, STORY, REEL and LIVE. This is the POST mode's gallery; REEL and STORY open the creation camera instead (PostingCameraScreen).

    What a person does here is pick: one photo, several photos (the grid's Select mode, a carousel), or a video. Opening the screen sends no request: the app sends only Pigeon telemetry at the open.

    Actions: pickPhoto(photo) and pickPhotos(photos) open the post editor (PostingPostEditScreen) with the picked files — the bytes go to the process's media pool, the editor receives their descriptors; a photo in a format the app's picker does not offer is the typed PostingMediaFormatError. pickMedia(files) is the same Select mode with photos and videos mixed (at least two files; a carousel whose video child is encoded and uploaded with its poster frame); pickVideo(video) takes one video through the reel pipeline; switchMode(mode) moves the selector to REEL or STORY, which opens the creation camera (PostingCameraScreen).

    How it is reached: FeedTimelineScreen.openCreation() (the post mode, the default), the GalleryPickerFragment:gallery_picker:2:camera_tab_bar entry.

    No screenshot: the grid shows the test account's gallery.

    Guide: The gallery picker