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

    Function feedTimelineRequestOf

    • Internal

      One page request of a timeline feed, shared by the main feed and its Following filter: the brick's wire for the cursor, read into a page (feedTimelinePageOf) that continues the feed's positions. source names the filter (following: its own form of the request, pagination_source and all); the main feed passes none. Workspace-only: the two screens use it and the published declarations leave it out.

      Parameters

      Returns Effect<
          {
              entries: readonly (
                  | {
                      key: string;
                      media: {
                          carousel_media?: readonly { pk: string }[];
                          code: string;
                          id: string;
                          injected?: { ad_id?: string } | null;
                          inventory_source?: string;
                          logging_info_token?: string;
                          media_type: number;
                          mezql_token?: string;
                          pk?: string;
                          product_type?: string;
                          taken_at?: number;
                          user?: { pk: string; username: string };
                      };
                      position: number;
                      slide?: number;
                      type: "post";
                  }
                  | {
                      key: string;
                      media: {
                          carousel_media?: readonly { pk: string }[];
                          code: string;
                          id: string;
                          injected?: { ad_id?: string } | null;
                          inventory_source?: string;
                          logging_info_token?: string;
                          media_type: number;
                          mezql_token?: string;
                          pk?: string;
                          product_type?: string;
                          taken_at?: number;
                          user?: { pk: string; username: string };
                      };
                      position: number;
                      type: "reel";
                  }
                  | {
                      key: string;
                      media: {
                          carousel_media?: readonly { pk: string }[];
                          code: string;
                          id: string;
                          injected?: { ad_id?: string } | null;
                          inventory_source?: string;
                          logging_info_token?: string;
                          media_type: number;
                          mezql_token?: string;
                          pk?: string;
                          product_type?: string;
                          taken_at?: number;
                          user?: { pk: string; username: string };
                      };
                      position: number;
                      type: "ad";
                  }
                  | {
                      key: string;
                      media: {
                          carousel_media?: readonly { pk: string }[];
                          code: string;
                          id: string;
                          injected?: { ad_id?: string } | null;
                          inventory_source?: string;
                          logging_info_token?: string;
                          media_type: number;
                          mezql_token?: string;
                          pk?: string;
                          product_type?: string;
                          taken_at?: number;
                          user?: { pk: string; username: string };
                      };
                      position: number;
                      source: string;
                      type: "explore_story";
                  }
                  | {
                      key: string;
                      position: number;
                      subtitle: string;
                      title: string;
                      type: "caught-up";
                  }
                  | {
                      key: string;
                      position: number;
                      posts: readonly {
                          id?: string;
                          media_type?: number;
                          user?: { pk: string; username: string };
                      }[];
                      title: string;
                      type: "threads";
                  }
                  | {
                      key: string;
                      position: number;
                      reels: readonly {
                          id?: string;
                          is_eof?: boolean
                          | null;
                          media_type?: number;
                          pk?: string;
                          user?: { pk: string; username: string };
                      }[];
                      title: string;
                      type: "suggested-reels";
                  }
                  | {
                      item: { kind: "unknown"; kindKey?: string; raw: Json };
                      key: string;
                      position: number;
                      type: "unknown";
                  }
              )[];
              more_available: boolean;
              next_max_id?: string;
              requestId: string;
          },
          IgApiError
          | RequestError
          | ParseError
          | TransportError
          | ScreenDataError,

              | PlainJsonApiHttp
              | MobileSession
              | MobileDevice
              | MobileApplication
              | NavigationWire
              | MobileUserFlows
              | MobileProcessMobileConfig,
      >