We are here to help
Admin > Data Migration
Facebook Lead Generation Form Integration
Modified on: Mon, 23 Jan , 2023 | 02:51 PM
- First, you must create a Facebook Developer Account. This can be done at https://developers.facebook.com/apps
- Now Create an App by selecting App Type as Business and fill display name and email for an app.
- Once you have created your App, click on that App.
- You will be redirected to the Dashboard. Here you will get your App ID. Save your App ID somewhere - you will need it in your integration form.
- Now Fill the basic details under settings menu and save.
- Go to Dashboard and add Webhook Product to your app by clicking on Setup.
- Under Webhooks Setting, select Page from dropdown and Add Subscription.
- Under Subscription paste the webhook url - https://app.franchisesoft.com/facebookLeadGen/getLeadsFromFacebook/ZGJfaW5zdGFuY2Uy/NTkz which is also mentioned at the top of the Integration Form in FranchiseSoft.
- Enter Verify token as FranchiseSoft@2023 in verify token field and save.
- Subscribe to leadgen field. This is must.
- Go to the Graph API Explorer under Tools menu from header menu.
- Run an API /me?fields=id,name by hitting submit button. You will get your Facebook id and name. Copy your facebook Id and paste over your form field named as Facebook Id.
- In Graph API Explorer,at right side,Select your app in Meta App dropdown and get user access token from User or Page Dropdown.
- Then select permissions from last Permissions Dropdown.
- Click on Generate Access Token.
- Copy that access token.
- Click on Access Token Debugger from Tools option on header. Paste your copied access token and click on Debug.
- Now go down and click on Extend Access Token. You will get your access token.
- Copy this token into FranchiseSoft.
- Click Submit to save the integration information.
If you have any questions on the contents of this article, please email helpdesk@franchisesoft.com for additional assistance.
If you would like a DEMO of the software, kindly visit https://franchisesoft.com and request a Demo.