Full running example on how to retrieve leads from Facebook's Lead Ads
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
Make sure:
- You have already created a Facebook Web App
- You already own a Facebook Page
- You are running at least PHP 5.4
All required files for this demo can be installed via composer via composer:
$ composer require "tixastronauta/facebook-leads-example:0.1.0"
Create a config/config.php with your facebook credentials
$ cp config/config.php.sample config/config.php
Point your http server to web/
Note: This script must be installed on the same domain you've ser for your Facebook App
[Not available yet] Please refer to https://gist.github.com/tixastronauta/0b9c3b409a7ba96edffc in the meanwhile
[Not available yet] Please refer to https://gist.github.com/tixastronauta/0b9c3b409a7ba96edffc in the meanwhile