Skip to content

Instantly share code, notes, and snippets.

View nekromoff's full-sized avatar

Galimatias Nekromoff nekromoff

View GitHub Profile
@leilaylp
leilaylp / webhooks - leads ads form Facebook.md
Last active August 8, 2023 13:21
Subscribe Facebook Webhooks with Leads Ads Form

How to subscribe Facebook Webhooks with Leads Ads Form

I made this tutorial because I think facebook docs is a bit confusing. I didn't find good stuff about connecting Leads ads forms with a webhook. But don't worry, this is what you need:

First:

  • Create a new Facebook App
  • Have any Facebook Page and leads ads forms created.
  • Create a webhook. If you can't understand the Facebook docs, here's what you need:
    • Any Verify Token, like 'string123'.
  • A https callback url which will return the token verification.
@leilaylp
leilaylp / long lived access token tips.md
Last active October 3, 2019 13:18
Get a never-ending Facebook Access Token

How to get a never-ending Facebook Access Token

First you need:

  • APP ID
  • PAGE ID
  • Create any page access token using the Graph API Explorer. This is called a short-lived token.

Step 1. Generate a long-lived access token