Module: Webhooks::V1::Facebook

Defined in:
app/controllers/webhooks/v1/facebook/data_deletion_controller.rb

Overview

Webhook controller for Meta's Data Deletion Callback.

Meta posts a signed_request form param when a user removes our app
from their Facebook account and elects the deletion option. We verify
the signature, idempotently create a Privacy::DeletionRequest, enqueue
Privacy::DataDeletionWorker, and respond with { url:, confirmation_code: }
per Meta's spec — Meta shows the URL to the user as a status page.

Reference:
https://developers.facebook.com/docs/development/create-an-app/app-dashboard/data-deletion-callback/

Defined Under Namespace

Classes: DataDeletionController