Skip to content

tixastronauta/facebook-leads-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Leads Example

Full running example on how to retrieve leads from Facebook's Lead Ads

1 - Retrieving Facebook Access Tokens and Subscribing App do Page

On this section you'll learn how to:

  • Grant an App access to manage your Facebook Pages
  • Retrieve a lifetime Page Access Token
  • Subscribe an App to a Page

Before you start

Make sure:

Install

All required files for this demo can be installed via composer via composer:

$ composer require "tixastronauta/facebook-leads-example:0.1.0"

Configure

Create a config/config.php with your facebook credentials

$ cp config/config.php.sample config/config.php

Execute

Point your http server to web/

Note: This script must be installed on the same domain you've ser for your Facebook App

2 - Setting up a Facebook Webhook handler

[Not available yet] Please refer to https://gist.github.com/tixastronauta/0b9c3b409a7ba96edffc in the meanwhile

Grabbing Leads from Facebook

[Not available yet] Please refer to https://gist.github.com/tixastronauta/0b9c3b409a7ba96edffc in the meanwhile

About

Full running example on how to retrieve leads from Facebook's Lead Ads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published