limit and cursor. They return data and
next_cursor.
limitaccepts 1 to 100. The default is 25.- Send
next_cursorascursorto get the next page. - A
nullvalue fornext_cursormeans that there are no more results.
Keep the filters the same
A cursor belongs to the filters that made it. Send the same filters with each page. A cursor sent with different filters returns400 invalid_request.
Instagram posts
GET /accounts/{account_id}/media accepts a limit of 1 to 50. A page can
hold fewer posts than limit, and even none with a next_cursor, because
posts that are not videos are left out. Keep paging until next_cursor is
null.
A media cursor belongs to one account. It returns 400 on another account.
Each media page uses the account’s Instagram rate limit. Read only the pages
you need.