Skip to content
For LLMsView as Markdown·

Facebook ​

Manage pages, posts, comments, and insights via the Facebook Graph API.

DetailValue
CategorySocial Media
Base URLhttps://graph.facebook.com/v19.0
AuthenticationOAuth2
Endpoints6
Connector keyfacebook

Using Facebook in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Facebook from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /meGet user profile
GET /me/accountsList managed pages
POST /{pageId}/feedCreate a page post
GET /{pageId}/feedGet page feed
GET /{pageId}/insightsGet page insights
GET /{postId}/commentsList post comments

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /me ​

Get user profile

DetailValue
Operation IDsocial.getProfile
MethodGET
Path/me

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getProfile.
  4. 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

DetailValue
Operation IDsocial.listPages
MethodGET
Path/me/accounts

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listPages.
  4. 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

DetailValue
Operation IDsocial.createPost
MethodPOST
Path/{pageId}/feed

Parameters ​

NameLocationTypeRequired
pageIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.createPost.
  4. 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

DetailValue
Operation IDsocial.getPageFeed
MethodGET
Path/{pageId}/feed

Parameters ​

NameLocationTypeRequired
pageIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getPageFeed.
  4. 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

DetailValue
Operation IDsocial.getInsights
MethodGET
Path/{pageId}/insights

Parameters ​

NameLocationTypeRequired
pageIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getInsights.
  4. 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

DetailValue
Operation IDsocial.listComments
MethodGET
Path/{postId}/comments

Parameters ​

NameLocationTypeRequired
postIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Facebook connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listComments.
  4. 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.