We are here to help

×

Admin > Data Migration

Facebook Lead Generation Form Integration

Modified on: Mon, 23 Jan , 2023 | 02:51 PM



  1. First, you must create a Facebook Developer Account. This can be done at https://developers.facebook.com/apps
  2. Now Create an App by selecting App Type as Business and fill display name and email for an app.



  3. Once you have created your App, click on that App.
  4. 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.
  5. Now Fill the basic details under settings menu and save.
  6. Go to Dashboard and add Webhook Product to your app by clicking on Setup.




  7. Under Webhooks Setting, select Page from dropdown and Add Subscription.
  8. 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.
  9. Enter Verify token as FranchiseSoft@2023 in verify token field and save.



  10. Subscribe to leadgen field. This is must.



  11. Go to the Graph API Explorer under Tools menu from header menu.
  12. 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.



  13. In Graph API Explorer,at right side,Select your app in Meta App dropdown and get user access token from User or Page Dropdown.
  14. Then select permissions from last Permissions Dropdown.
  15. Click on Generate Access Token.



  16. Copy that access token.
  17. Click on Access Token Debugger from Tools option on header. Paste your copied access token and click on Debug.
  18. Now go down and click on Extend Access Token. You will get your access token.



  19. Copy this token into FranchiseSoft.
  20. 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.