Integration

META LEADS

Real-time lead capture from Meta Lead Ads

Setup Guide

  1. 1

    Create a Meta App

    Go to developers.facebook.com → My Apps → Create App. Choose "Business" type.

  2. 2

    Add Lead Ads Product

    In your app dashboard, add the "Lead Ads Retrieval" product.

  3. 3

    Configure Webhooks

    Go to Webhooks → Subscribe to "leadgen" events on your Page. Use the webhook URL below.

  4. 4

    Enter Your Verify Token

    Use the same value you set as META_VERIFY_TOKEN in the app secrets.

  5. 5

    Get Page Access Token

    Use Graph API Explorer → select your Page → generate a long-lived token → save as META_PAGE_ACCESS_TOKEN.

  6. 6

    Subscribe to your Page

    In Webhooks, click "Subscribe" next to your Facebook Page.

Open Meta for Developers

Webhook URL

https://swellwindowexteriorservices.com/api/functions/metaLeadWebhook

Secrets Status

META_APP_SECRET
META_VERIFY_TOKEN
META_PAGE_ACCESS_TOKEN
RESEND_API_KEY

Test Integration

Leads (0)

No leads yet. Use "Send Test Lead" to verify the integration.