Subscribe a Facebook Page to real-time events
subscribe_meta_webhooksSet up Meta webhooks to push Page events (feed, mention, leadgen, messages) to Hermoso instead of polling, ensuring instant delivery of comments, leads, and DMs.
Instructions
Have Meta PUSH events to Hermoso instead of Hermoso polling for them. Subscribe a Page to feed (comments, posts, likes and shares — this is what makes a new comment ARRIVE rather than be polled for), mention (someone mentions the Page), leadgen (a lead-ad form submission delivered the moment it happens, which turns "read the leads when asked" into "the leads arrive"), and messages (an inbound Messenger or Instagram DM — THE ONLY WAY to be told about one, and Meta’s 24-hour reply window starts the moment it arrives, so being told rather than polling is time on the clock). Read what has arrived with list_meta_webhook_events. THE ANSWER IS READ BACK FROM META, never the 200: Meta can accept a subscription and record FEWER fields than you asked for, and a caller told "subscribed to leadgen" whose leads never arrive has no way to discover why — so any field Meta did not record is named. Fields Hermoso does not consume (message_reactions, messaging_postbacks, message_echoes) are refused by name with the reason, so an agent gets a fact rather than "unsupported". 0 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | what to be told about. At least one — Meta marks it required, and defaulting it would decide on the brand’s behalf what they hear about. | |
| pageId | No | Facebook Page id — omit when only one Page is connected |