Add Facebook Login to your restaurant website

shape

Why integrate Facebook login to my restaurant website ?

Adding Facebook login to your website allows your customers to register and login in a click. Handy!

To active Facebook Login on your website, you will need a Facebook account, a Facebook Developer account and Facebook app.

Once your accounts have been created, create a Facebook App through the Facebook Developers interface.

Access Facebook Developers

Warning: We recommend using a computer while accessing the Facebook Developers interface.

What are the steps ?

  1. Create a Facebook account.
  2. Create a Facebook Developer account.
  3. Create an application on Facebook Developer and give it the name of your restaurant.
  4. Head over to the configuration page of your newly created Facebook app.
  5. Click the + next to Products in the navigation bar located on the left of the screen.
  6. On this page, section Add a product, look for Facebook Login then click Configure.
  7. Facebook Login is now enabled on your Facebook app. We will now configure it so that it works with your website.
  8. In the navigation bar, click on Facebook Login, then Parameters.
  9. Your OAuth Client parameters:

    OAuth CLIENT CONNEXION: YES

    OAuth Web CONNEXION: YES

    HTTPS REQUIRED: YES

    FORCE RE-AUTHENTATICATION OAUTH WEB: NO

    OAUTH INTEGRATED SERVER CONNEXION: NO

    USE STRICT MODE FOR URI REDIRECTION: YES

    REDIRECTION URI:

    CONNECT FROM DEVICES: NO

  10. Save your modifications. Next, click Parameters, then click General.
  11. Retrieve your APP ID, as well as its Secret Key.
  12. Add the domain names used to access your website :
  13. On the bottom of this page, enter your Website URL in the field providen for this purpose, then click Save Changes.
  14. Head over to Parameters, Advanced, and verify the following parameters:

    App native ou de bureau: Non

    Niveau de l'API: 5.0

  15. A little further down, in the section Security, fill in the Napplok server IP where you website is hosted in AUTHORIZED SERVERS IP.

    Your Napplok IP: {{ napplokIp }}

  16. Then, set REQUIRE KEY to Yes, and click Save Changes.
  17. You are almost done ! Fill in your Facebook APP ID as well as your Secret KEY in your  Management Interface, page Parameters, tab Integrations.

Facebook Login is now integrated to your website !

Congratulations ! Your users can now register and login to your website using their Facebook account, in a click !

Interesting articles:

shape