🔷 How to Use the Facebook Login Integration

📚 Learn how to store a Facebook account information in a form.

💡 PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

The Facebook Login Integration allows you to store a Facebook account information in a form. Learn how to use this integration in the following article:

  • Add a “Login with Facebook” button to your form
  • If the user is logged in, the button won’t be shown, and automatically, the fields will be filled with his facebook account information.
  • Map what facebook account data you want to store in a field.

Set Up a Facebook Login #

The first step is to create a form. Forms are created through the Form Builder. You just need to drag and drop the fields your form needs.

Then, add a Snippet field and enter the following text: <!--facebook_login-->. The text will be replaced by the Facebook Login Button. This will allow adding the button anywhere on the form.

To display the Facebook Login into the Form, you must perform the following steps:

  1. Go to the Add-ons Manager and click on Facebook Login.
  2. Click the Add Login button.
  3. A form will appear with the following fields:
    • Form: Select the form to work.
    • Status: Can be:
      • On: Enable
      • Off: Disable
    • Facebook App IDClick here to create your Facebook Apphere to learn how to configure your Faceboo App and here to learn how to see the available permission keys.
    • Facebook App Version: API Version. For example: “v4.0”
    • Facebook App Scope: For example: “email”
    • Login Button: HTML Code to display the Link with the ID: facebook-login. E.g. “Login
    • Logout Button: HTML Code to display the Link with the ID: facebook-logout. E.g. “Login
    • In Fields section, you must select the Form fields that will be filled with Facebook information. In Facebook data you must enter the key used to get the information (with authorized permissions). For example, ‘name’, ‘gender’ or ‘birthday’.
    • Click Save

Disable / Enable a Facebook Login configuration #

To stop a Form field temporarily, you can choose to disable and enable later.

To disable it, you must follow these steps:

  1. Go to the Add-ons Manager and click on Facebook Login
  2. Click the Actions button of the Form to disable.
  3. Click Update.
  4. Change the state from On to Off or vice versa.
  5. Click Update.

Delete a Facebook Login configuration #

To delete a Facebook Login configuration, you must perform the following steps:

  1. Select the checkbox of the Form configuration to delete
  2. Click Bulk Actions
  3. Click Delete
  4. Finally it will show a popup asking to confirm your decision to delete the configuration.

The page will reload and the selected item will be deleted.