Closed

i wann to link my crm that made in Laravel with Favcbook leads to get leads form fb , atuomaticly

i have a crm and i want to link with Fb , this is all the steps

1. Get User Short-Lived Access Token

1. Go to the Graph API Explorer.

2. Select the application `Damac Lead Gen` to get the access token.

3. Click "Get Access Token".

4. In the pop-up, under the "Extended Permissions" tab, check "ads_management, ads_read, manage_pages, business_management, public_profile".

5. Click "Get Access Token".

6. Grant access from a Facebook account that has access to manage the target page and has the advertiser access for your business account. Note that if this user loses access the final, never-expiring access token will likely stop working. It's recommended to generate token from the user who has the business manager's prime access.

Token that appears in the "Access Token" field is your short-lived access token.

2. Generate Long-Lived Access Token

Following these instructions from the Facebook docs, make a GET request to

[login to view URL]{app_id}&client_secret={app_secret}&fb_exchange_token={short_lived_token}

entering in your app's ID and secret and the short-lived token generated in the previous step.

Since it's a GET request, you can just go to the URL in your browser.

The response should look like this:

access_token=ABC123&expires=5182959

"ABC123" will be your long-lived access token. You can put it into the Access Token Debugger to verify. Under "Expires" it should have something like "2 months".

4. Get User ID

Using the long-lived access token, make a GET request to

[login to view URL]{long_lived_access_token}

The id field is your account ID. You'll need it for the next step.

5. Get Permanent Page Access Token

Make a GET request to

[login to view URL]{account_id}/accounts?access_token={long_lived_access_token}

The JSON response should have a data field under which is an array of items the user has access to. Find the item for the page you want the permanent access token from. The access_token field should have your permanent access token. Copy it and test it in the Access Token Debugger. Under "Expires" it should say "Never".

6. Replacing the token

The `[login to view URL]` has a constant defined for the access token, replace the constants value with the new token generated.

Skills: Software Architecture, Laravel, Facebook Marketing, Facebook API, Facebook SDK

See more: crm javascript disable form field, crm ondemand web form, crm quote request form, link flash php contact form godaddy, link email ajax contact form, link mosets tree contact form, crm 2011 web form cases, crm laravel, laravel contact form, angular js, javascript, ERP,CRM,Laravel, laravel search form example, laravel edit form example, laravel class 'form' not found, laravel edit form, laravel tabbed form, laravel vue form, laravel 5 form::select, laravel update form, laravel collective form example, laravel 5 form example

About the Employer:
( 7 reviews ) Badrashin, Egypt

Project ID: #31767424

9 freelancers are bidding on average $194 for this job

(59 Reviews)
5.8
(7 Reviews)
5.3
techninja9694

Hi, I like to infrom you that I have very good experience in laravel development. and I already developed a laravel-Facebook lead connection to get all leads based on pages in laravel. I have used webhooks in Facebo More

$250 USD in 15 days
(5 Reviews)
4.9
(8 Reviews)
4.7
(6 Reviews)
4.4
(2 Reviews)
2.1
ramakrishnapanig

Hi! Thank your posting "i wann to link my crm that made in Laravel with Favcbook leads to get leads form fb , atuomaticly ". i understand your requirement . I have 7+ years of work experience in Laravel, Core php and More

$350 USD in 7 days
(3 Reviews)
1.9
mdnaeemmia199620

I am a Facebook page marketing expert. You can give me all the information to expand your business. I can make your location the desired success of your business.

$20 USD in 7 days
(0 Reviews)
0.0
BenWeissenstein

Hey there, I’m not new to copywriting or marketing, but since I’m new to Freelancer.com, I’d be willing to do the following to make you comfortable… You clarify exactly what you need. I’ll provide you a quote. If More

$750 USD in 7 days
(0 Reviews)
0.0