What is Facebook Webhooks?
Facebook Webhooks, documented by Meta as Webhooks from Meta, sends Graph API change notifications to an app's HTTPS endpoint. The app subscribes to fields on an object type, and Meta posts JSON when a permitted object changes. Notifications can contain more than one update, so the receiver must inspect each entry rather than assuming one event per request.
Endpoint setup starts with a GET verification request. Meta sends hub.mode, hub.verify_token, and hub.challenge as query parameters. The endpoint checks that the mode is subscribe and that the token matches the private value configured in the App Dashboard, then returns the challenge. That handshake confirms control of the callback URL.
Later event notifications arrive as POST requests. Meta signs the raw JSON body with the app secret and places the HMAC SHA-256 value in X-Hub-Signature-256 with a sha256= prefix. The endpoint should verify it before processing and return 200 OK. Failed updates can be retried over the next 36 hours, so duplicate-safe handling is required.
Facebook Webhooks is separate from FacebookBot and from link-preview fetchers. It only reports subscribed Meta platform events to an app endpoint. It has no direct effect on AI search visibility or model training, and robots.txt does not apply to either the setup challenge or event POST.
