Comment triggers

List recent posts

Recent posts and Reels on the connected Instagram or Facebook account, newest first, straight from Meta. Use an id as post_id when creating a trigger scoped to one post. 409 not_connected when that channel is not connected. Requires the read scope.

get/recent-posts

Request

  • Base URL: https://sumgenius.ai/api/v1
  • URL: https://sumgenius.ai/api/v1/recent-posts
  • Auth: one of:
    • API key in header X-SumGenius-Api-Key
    • HTTP bearer

Query parameters

platform'instagram' | 'facebook'

Which account. Default instagram.

limitinteger

1 to 50. Default 25.

starting_afterstring

The next_cursor from the previous page (a Meta cursor).

Response

A page

has_moreboolean required
next_cursorstring nullable required

Pass as starting_after for the next page. Null on the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.