Skip to main content

Activate Facebook Login in Your Guest Area and Offer Seamless Access

Set up Facebook Login to let your customers access with a single click. Save time, avoid forgotten passwords, and enhance their experience.

Written by Stephanie
Updated over 4 months ago

More convenience for your travelers and fewer access issues

When your guests can log in with their Facebook account, everything runs more smoothly: less friction, fewer forgotten passwords, and more completed bookings. You save time, and they enjoy greater convenience.

What you’ll achieve

You’ll activate Facebook Login so that travelers can enter their Guest Area with one click, without creating new credentials.
To do this, you’ll need to generate the App ID and App Secret in Facebook for Developers and send them to the support team to complete the activation.
Keep in mind that Facebook requires an SSL certificate on your website domain.

Prerequisites

  • Active SSL certificate on your domain (mandatory since March 2018).

  • Access to Facebook for Developers with an account authorized to create applications.

  • A privacy policy URL published on your website to activate the application.

Step by step: activate Facebook Login

  1. Go to Facebook for Developers and log in with your credentials.

  2. Create a new app and define a name and contact email.

  3. In your app’s dashboard, go to “Add a product” and click Set up under “Facebook Login.”

  4. Select the Web platform.

  5. On the next screen, add your website domain and save the changes (the remaining steps are not necessary).

  6. Go to Settings → Basic and complete the following:

    • App domains: enter your domain without protocol or www. Example:
      avantio.com

    • Privacy policy URL: paste the link to your policy. Example:
      https://ambianceenterprise.avantio.com/privacy-policy/

  7. Go to Facebook Login → Settings and, in Valid OAuth Redirect URIs, add the URL adapted to your domain:

    • https://yourdomain/api/auth/login/facebook?domain=yourdomain

    • Example: https://ambianceenterprise.avantio.com/api/auth/login/facebook?domain=ambianceenterprise.avantio.com

  8. Return to Settings → Basic and activate the app using the status toggle.

  9. Click Show under App Secret to view both the App ID and App Secret.

  10. Send both values in a support ticket at http://support.avantio.com requesting the activation of Facebook Login for the Guest Area.

Common mistakes

  • Missing SSL certificate → install it before setting up the app.

  • Adding protocol or “www” in the app domain → write only the root domain.

  • Omitting the privacy policy → without a privacy URL, the app cannot be activated.

  • Incorrect or missing redirect URL → follow the pattern and only change the domain.

  • Failing to send credentials to support → activation won’t be completed without the support ticket.

In conclusion, activating Facebook Login in your Guest Area makes traveler access easier, reduces login issues, and enhances the overall guest experience.


Frequently Asked Questions

Is it mandatory to have an SSL certificate on my website?

Yes. Facebook requires apps to use domains with SSL certificates; without it, login will not work.

How should I write the domain in “App domains”?

Without protocol and without “www”: mydomain.com. This is the format Facebook specifies for this field.

What redirect URL should I add in OAuth?

Use this pattern, replacing the domain with yours:
https://yourdomain/api/auth/login/facebook?domain=yourdomain
It must match exactly.

What information should I send to support for activation?

Send the App ID and App Secret obtained in Facebook within a ticket at http://support.avantio.com.

Can I also offer access with Google?

Yes. Integration with Google Login is available; refer to the corresponding guide for details.

Did this answer your question?