Skip to main content

Facebook Login Integration

Set Facebook Login in EasySite

  1. In EasySite, enter a project, click the "Settings" button in the top right corner to open the settings panel.

    click settings

  2. In the settings panel, click on "Third-party Integration", then click the "Facebook Login" button to enter the Facebook Login settings page.

  3. On the Facebook Login settings page, to enable Facebook login, you must first enable EasySite Database. Click the "Enable now" button to navigate to the Database tab.

    click facebook login

  4. On the Database settings page, click the "Enable Database" button, select "EasySite Database" for the Database Type, then click the "Save" button to save the settings.

    enable database

  5. Return to the Third-party Integration tab, click the "Facebook login" button, and copy the Facebook Redirect URL, which will be used in step 8.

    copy facebook redirect url

  6. Open the Facebook Developer, create a new app.

    set app name in create app checked authentication in create app select business in create app

  7. In the app, click the "Dashboard" button, click the "Customize adding a Facebook Login button" button

    click dashboard

  8. Enable email permission in the "Permissions" tab.

    enable email permission

  9. Click "Settings", input the Facebook Redirect URL copied in step 5 in the "Valid OAuth Redirect URIs" field, then click the "Save changes" button.

    set redirect url

  10. Verify your business.

    verify business start verification

  11. Submit app review.

  12. Return to the dashboard, click the "App settings"->"Basic" button in the left sidebar, copy the "App ID" and "App Secret".

    copy app id and app secret

  13. Return to the Facebook Login settings page in EasySite, enter the "App ID" and "App Secret" copied in step 9, then click the "Save" button to save the settings.

    input app id and app secret

Integrate Facebook Login in project

Use the following prompt to create a website with Facebook login.

Create a Sudoku mini-game where users can login, register, and use Facebook login.