Appearance
Facebook
Manage pages, posts, comments, and insights via the Facebook Graph API.
| Detail | Value |
|---|---|
| Category | Social Media |
| Base URL | https://graph.facebook.com/v19.0 |
| Authentication | OAuth2 |
| Endpoints | 6 |
| Connector key | facebook |
Using Facebook in a workflow
- Go to Connections and click New Connection.
- Pick Facebook from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
GET /me | Get user profile |
GET /me/accounts | List managed pages |
POST /{pageId}/feed | Create a page post |
GET /{pageId}/feed | Get page feed |
GET /{pageId}/insights | Get page insights |
GET /{postId}/comments | List post comments |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
GET /me
Get user profile
| Detail | Value |
|---|---|
| Operation ID | social.getProfile |
| Method | GET |
| Path | /me |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.getProfile. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.
GET /me/accounts
List managed pages
| Detail | Value |
|---|---|
| Operation ID | social.listPages |
| Method | GET |
| Path | /me/accounts |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.listPages. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.
POST /{pageId}/feed
Create a page post
| Detail | Value |
|---|---|
| Operation ID | social.createPost |
| Method | POST |
| Path | /{pageId}/feed |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
pageId | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.createPost. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.
GET /{pageId}/feed
Get page feed
| Detail | Value |
|---|---|
| Operation ID | social.getPageFeed |
| Method | GET |
| Path | /{pageId}/feed |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
pageId | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.getPageFeed. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.
GET /{pageId}/insights
Get page insights
| Detail | Value |
|---|---|
| Operation ID | social.getInsights |
| Method | GET |
| Path | /{pageId}/insights |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
pageId | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.getInsights. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.
GET /{postId}/comments
List post comments
| Detail | Value |
|---|---|
| Operation ID | social.listComments |
| Method | GET |
| Path | /{postId}/comments |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
postId | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Facebook connection from the Connection dropdown.
- In the Operation dropdown, select
social.listComments. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Facebook API reference.