facebook-messenger

Package Information

Released: 6/1/2025
Downloads: 57 weekly / 57 monthly
Latest Version: 0.1.0
Author: kientranasia

Documentation

n8n-nodes-facebook-messenger

This is an n8n community node for Facebook Messenger. It allows you to interact with the Facebook Messenger API to send and receive messages.

Installation

Follow the installation guide in the n8n community nodes documentation.

Credentials

To use this node, you need to set up a Facebook App and get the following credentials:

  1. Access Token
  2. App Secret
  3. Verify Token

You can get these credentials by:

  1. Creating a Facebook App at Facebook Developers
  2. Setting up the Messenger product in your app
  3. Generating a Page Access Token
  4. Setting up webhook verification

Operations

Message

Send

  • Send a text message to a recipient using their Facebook ID
  • Required parameters:
    • Recipient ID: The Facebook ID of the recipient
    • Message: The text message to send

Webhook

Receive Messages

  • Receive messages from Facebook Messenger users
  • The node will automatically handle webhook verification
  • For each received message, it provides:
    • Sender ID
    • Recipient ID
    • Timestamp
    • Message text
    • Message ID

To set up webhook receiving:

  1. Create a new workflow
  2. Add the Facebook Messenger node
  3. Select "Webhook" as the resource and "Receive Messages" as the operation
  4. Configure your Facebook App's webhook URL to point to this node's webhook URL
  5. Use the Verify Token from your credentials for webhook verification

Resources

Discussion