Overview
This node is designed to listen for events from a selected Facebook Page via a webhook. It allows users to specify which Facebook Page they want to monitor, and then it receives incoming data (such as messages or interactions) related to that page in real-time. This is particularly useful for automating workflows based on Facebook Page activity, such as responding to messages, logging interactions, or triggering other processes when specific events occur.
Practical examples include:
- Automatically replying to new messages sent to a Facebook Page.
- Logging comments or reactions on posts for analytics.
- Triggering notifications or CRM updates when users interact with the page.
Properties
| Name | Meaning |
|---|---|
| Đây là phiên bản Thử nghiệm Chúng tôi sẽ liên tục cập nhât và sửa lỗi. Mời bạn truy cập https://zalo.me/g/ebsiof941 để cập nhật thông tin mới nhất |
A notice informing users that this is an experimental version of the node, with ongoing updates and fixes. Provides a link for latest information. |
| Facebook Page | Select the Facebook Page you want to listen to. You can choose from a list of available pages or enter the page ID manually. This property is required. |
Output
The node outputs JSON data representing the event payload received from the Facebook webhook. The output contains the raw data sent by Facebook about the event occurring on the specified page, such as messages, comments, or other interactions.
The output structure is:
{
"json": {
/* Facebook webhook event data */
}
}
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authentication with the external service at
https://apiv2.phoai.vn/api/facebook. - Needs to be configured with a valid Facebook Page ID.
- The node sets up and manages a webhook URL to receive Facebook events.
- Requires internet access to communicate with the external API endpoint for webhook registration and management.
Troubleshooting
- Webhook not receiving events: Ensure the webhook URL is correctly set and publicly accessible. Verify that the Facebook Page ID is correct and that the webhook has been successfully registered via the external API.
- Authentication errors: Confirm that the API key credential is valid and has the necessary permissions.
- Page selection issues: If the list of Facebook Pages does not populate, check the connection to the external API and the permissions granted to the API key.
- Unexpected empty payloads: Verify that Facebook is sending events to the webhook and that the node's webhook path matches the one registered.
Common error messages may relate to HTTP request failures when registering or deleting webhooks, invalid credentials, or missing required properties. Resolving these typically involves checking API keys, network connectivity, and input parameters.
Links and References
- Facebook Webhooks Documentation
- Zalo Group for Updates (as provided in the notice)
- External API base URL:
https://apiv2.phoai.vn/api/facebook(used internally for webhook management)
