Manage conversations and send messages for Facebook Pages
/me/accounts
| Param | Type | Required | Description |
|---|---|---|---|
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/me
| Param | Type | Required | Description |
|---|---|---|---|
| fields | string | optional | Comma-separated fields to include |
/{page_id}
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
/{page_id}
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
/{page_id}/conversations
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| platform | string | optional | Messaging platform |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/conversations
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| platform | string | optional | Messaging platform |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{conversation_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Messenger conversation ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{conversation_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Messenger conversation ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{message_id}
| Param | Type | Required | Description |
|---|---|---|---|
| message_id | string | required | Messenger message ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
/{page_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| recipient | object | required | Recipient object containing the user ID |
| message | object | required | Message payload |
| messaging_type | string | optional | Messenger messaging type |
/{page_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| recipient | object | required | Recipient object containing the user ID |
| message | object | required | Media message payload |
| messaging_type | string | optional | Messenger messaging type |
/{page_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| recipient | object | required | Recipient object containing the user ID |
| sender_action | string | required | Sender action |
/{page_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| recipient | object | required | Recipient object containing the user ID |
| sender_action | string | required | Sender action |
/{page_id}/feed
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/photos
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/videos
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/tagged
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/insights
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| metric | string | required | Comma-separated insight metrics |
| period | string | optional | Insight period |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/roles
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/scheduled_posts
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{page_id}/feed
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| message | string | required | Post text |
| link | string | optional | Optional link |
/{page_id}/photos
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| url | string | required | Public image URL |
| caption | string | optional | Photo caption |
/{page_id}/videos
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| file_url | string | required | Public video URL |
| description | string | optional | Video description |
/{page_id}/albums
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| name | string | required | Album name |
| message | string | optional | Album description |
/{page_id}/photos
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| album_id | string | optional | Optional album ID |
| files | array | required | Photo files or URLs |
/{post_id}
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
/{post_id}
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
/{post_id}
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| message | string | optional | Updated post text |
| scheduled_publish_time | string | optional | Scheduled publish time |
/{post_id}/insights
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| metric | string | optional | Comma-separated insight metrics |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{post_id}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{object_id}/reactions
| Param | Type | Required | Description |
|---|---|---|---|
| object_id | string | required | Facebook object ID |
| page_id | string | optional | Facebook Page ID |
| type | string | required | Reaction type |
/{object_id}/likes
| Param | Type | Required | Description |
|---|---|---|---|
| object_id | string | required | Facebook object ID |
| page_id | string | optional | Facebook Page ID |
/{object_id}/comments
| Param | Type | Required | Description |
|---|---|---|---|
| object_id | string | required | Facebook object ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{object_id}/comments
| Param | Type | Required | Description |
|---|---|---|---|
| object_id | string | required | Facebook object ID |
| page_id | string | optional | Facebook Page ID |
| message | string | required | Comment text |
/{comment_id}
| Param | Type | Required | Description |
|---|---|---|---|
| comment_id | string | required | Facebook comment ID |
| page_id | string | optional | Facebook Page ID |
| fields | string | optional | Comma-separated fields to include |
/{comment_id}
| Param | Type | Required | Description |
|---|---|---|---|
| comment_id | string | required | Facebook comment ID |
| page_id | string | optional | Facebook Page ID |
| message | string | required | Updated comment text |
/{comment_id}
| Param | Type | Required | Description |
|---|---|---|---|
| comment_id | string | required | Facebook comment ID |
| page_id | string | optional | Facebook Page ID |
/{page_id}/roles
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| user_id | string | required | Business-scoped user ID |
| tasks | array | required | Page tasks |
/{page_id}/roles
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| user_id | string | required | Business-scoped user ID |
/{page_id}/settings
| Param | Type | Required | Description |
|---|---|---|---|
| page_id | string | required | Facebook Page ID |
| settings | object | required | Page settings |
/{post_id}
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| is_published | boolean | required | Publish the post |
/{post_id}
| Param | Type | Required | Description |
|---|---|---|---|
| post_id | string | required | Facebook post ID |
| page_id | string | optional | Facebook Page ID |
| scheduled_publish_time | string | required | New publish time |