get_gql_user_medias
List an Instagram user's posts, one page per call. Use the cursor from the previous response to fetch the next page.
Instructions
List an Instagram user's posts, one page per call. Use it to read an account's feed; use get_v2_user_clips for reels only and get_v2_user_tag_medias for posts the user is tagged in. Pass user_id; for the next page pass the cursor from the previous response as profile_grid_items_cursor. flat=true flattens nested media objects into a single list. Live request to Instagram, billed per call. (GET /gql/user/medias)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flat | No | Flatten nested media objects into a single list | |
| user_id | Yes | ||
| profile_grid_items_cursor | No |