Facebook Send Page Message icon

Facebook Send Page Message

Facebook Send Page Message

Overview

This node sends a message to a Facebook page using provided parameters such as text, recipient ID, and page ID. It is useful for automating Facebook page messaging workflows, for example, sending notifications or customer support messages via Facebook pages. The node requires an API key and optionally a Facebook session for authentication.

Use Case Examples

  1. Sending a text message to a Facebook page recipient using data from previous workflow steps.
  2. Automating customer support responses by sending messages to users interacting with a Facebook page.

Properties

Name Meaning
Request Body Contains key-value pairs for the message, including text, recipientId, and pageId. This is the main data sent in the message request.
Facebook Session Optional JSON string data from a Chrome extension used for Facebook session authentication in standalone connection mode.
Api Key API key used for authenticating the request to the Facebook messaging service in standalone connection mode.

Output

JSON

  • json - The response from the Facebook messaging API, including success or error details.

Dependencies

  • Requires an API key for authentication.
  • Optionally requires Facebook session data for standalone connection mode.

Troubleshooting

  • Common errors include missing recipientId, missing text in the request body, missing pageId, or missing API key when using standalone mode.
  • Errors related to invalid Facebook session JSON format or quota limits may occur.
  • Error messages like 'Execution error: No recipientId data' or 'Execution error: Message is required' indicate missing required input fields.
  • Quota limit exceeded errors indicate the API usage limit has been reached and the user should wait or increase quota.
  • System errors or WASM errors indicate internal issues with the messaging service and may require retrying or contacting support.

Discussion