Facebook Graph API

Facebook integration on indie.money — call the Graph API and trigger on Facebook events

Written By pvdyck

Last updated About 2 hours ago

Facebook Graph API

Supported — make arbitrary Facebook Graph API calls and start workflows when Facebook events occur.

NodesFacebook Graph API, Facebook Trigger
AuthAccess token (and optional app secret) via Secure Vault

Credential Setup

The two nodes use two related credentials.

Facebook Graph API — used by the Facebook Graph API node:

  • Access Token — the Graph API access token sent with every request.

Facebook Graph API (App) — used by the Facebook Trigger node. Extends the Graph API credential, so it also accepts the access token, plus:

  • App Secret — optional. When set, API calls are signed and incoming webhook payloads are verified for added security.

Operations

Facebook Graph API node — a generic client for the Graph API. You configure each request directly:

  • Host URLgraph.facebook.com (default) or graph-video.facebook.com for video uploads.
  • HTTP Request Method — GET, POST, or DELETE.
  • Graph API Version — pick a specific version (v3.0 through v23.0) or leave on Default.
  • Node — the object to operate on, identified by its unique ID (for example me).
  • Edge — an optional collection attached to the node (for example videos).
  • Send Binary File — on POST, upload an input binary field as the request body (for example for video uploads).
  • Options — request specific Fields on GET, and add extra Query Parameters either individually or as a JSON object.

Facebook Trigger node — starts a workflow when Facebook sends a webhook event. You provide your App ID and choose the Object to subscribe to:

  • Ad Account, Application, Certificate Transparency, Group, Instagram, Link, Page, Permissions, User, Whatsapp Business Account, Workplace Security.

For the chosen object you select which Field Names to subscribe to, and can optionally Include Values so change notifications carry the new values.

Compatibility

All operations supported. Due to a Facebook API limitation, you can run only one Facebook Trigger per App ID. For WhatsApp Business Account events, use the WhatsApp trigger instead.