Skip to main content
Every facebook.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Comments

create

comments.create Create a comment on a Page post or other object. Risk: write
Input Output

delete

comments.delete Delete a comment. Risk: write · Irreversible
Input Output

get

comments.get Retrieve a single comment by ID. Risk: read
Input Output

list

comments.list List comments on a Page post or other object. Risk: read
Input Output

update

comments.update Update or hide a comment. Risk: write
Input Output

Conversations

getMessages

conversations.getMessages List messages in a Messenger conversation. Risk: read
Input Output

list

conversations.list List Messenger conversations for a Page (optional platform filter). Risk: read
Input Output

Messages

getDetails

messages.getDetails Retrieve a single Messenger message by ID. Risk: read
Input Output

markSeen

messages.markSeen Mark the most recent messages in a conversation as seen. Risk: write
Input Output

send

messages.send Send a text Messenger message from a Page. Risk: write
Input Output

sendMedia

messages.sendMedia Send a media Messenger message from a Page. Risk: write
Input Output

toggleTyping

messages.toggleTyping Show or hide the Messenger typing indicator. Risk: write
Input Output

Pages

assignTask

pages.assignTask Assign Page tasks to a business/system user via /assigned_users. Risk: write
Input Output

getDetails

pages.getDetails Retrieve metadata for a Facebook Page. Risk: read
Input Output

getInsights

pages.getInsights Retrieve Page insights for the given metrics and period. Risk: read
Input Output

getRoles

pages.getRoles List users and their roles on a Facebook Page. Risk: read
Input Output

listManaged

pages.listManaged List Facebook Pages the authenticated user manages, including page access tokens. Risk: read
Input Output

removeTask

pages.removeTask Remove a business/system user from Page task assignments. Risk: write
Input Output
pages.search Search Pages via /pages/search (deprecated for most apps; Workplace-only). Prefer pages.listManaged or pages.getDetails. Risk: read
Input Output

updateSettings

pages.updateSettings Update editable settings on a Facebook Page. Risk: write
Input Output

Photos

addToAlbum

photos.addToAlbum Add a photo to an existing album. Risk: write
Input Output

createAlbum

photos.createAlbum Create a photo album on a Page. Risk: write
Input Output

createPost

photos.createPost Create and publish a photo post on a Page (uses caption per Graph docs). Risk: write
Input Output

list

photos.list List Page photos via /photos (defaults to type=uploaded). Risk: read
Input Output

upload

photos.upload Upload a photo to a Page. Risk: write
Input Output

uploadBatch

photos.uploadBatch Upload multiple photos using the Graph API batch endpoint. Risk: write
Input
Output: object[]

Posts

create

posts.create Publish or schedule a Page feed post (supports attached_media for multi-photo). Risk: write
Input
Output

delete

posts.delete Delete a Page post. Risk: write · Irreversible
Input Output

get

posts.get Retrieve a single Page post by ID. Risk: read
Input Output

getInsights

posts.getInsights Retrieve insights for a Page post. Risk: read
Input Output

getReactions

posts.getReactions List reactions on a Page post. Risk: read
Input Output

list

posts.list List Page timeline content via /feed (page posts + visitor posts + tagged posts). Risk: read
Input Output

listScheduled

posts.listScheduled List scheduled but unpublished Page posts. Risk: read
Input Output

listTagged

posts.listTagged List posts in which the Page is tagged. Risk: read
Input Output

publishScheduled

posts.publishScheduled Publish a previously scheduled post immediately. Risk: write
Input Output

reschedule

posts.reschedule Change the scheduled publish time of a post. Risk: write
Input Output

update

posts.update Update an existing Page post. Risk: write
Input Output

Reactions

add

reactions.add Add a LIKE to a post or comment via /likes (Graph only allows LIKE programmatically). Risk: write
Input Output

unlike

reactions.unlike Remove a LIKE from a post or comment via DELETE /likes. Risk: write
Input Output

Users

getCurrentUser

users.getCurrentUser Get the authenticated Facebook user via /me. Risk: read
Input Output

getUserPages

users.getUserPages Deprecated. List Facebook Pages for the authenticated user via /me/accounts. Risk: read
Input Output

Videos

createPost

videos.createPost Create a video post on a Page using file_url. Risk: write
Input Output

list

videos.list List Page videos via GET //videos (Video API; needs pages_read_engagement + MANAGE). Risk: read
Input Output

upload

videos.upload Publish a Page video from file_url (same edge as createPost; not resumable/chunked). Risk: write
Input Output