Skip to content

Facebook

Integrate Facebook with Sngine in a few easy steps to let your users log in with their Facebook accounts.

Create the Facebook app

  1. Go to https://developers.facebook.com and sign in with your Facebook account

  2. Click My Apps and click Create App

    Click My Apps and click Create App

  3. Fill the form and click Create App ID

    Fill the form and click Create App ID

    Fill the form and click Create App ID

Configure the app

  1. Go to Settings and enter your domain or subdomain where you installed Sngine in the App Domains

    Also provide Privacy Policy URL and Terms of Service URL you can use your Sngine static pages for these also you will need to select the app Category

    For User Data Deletion add your website link then /settings/delete

    Finally click Save Changes

    Finally click Save Changes

  2. Also make sure you added your website URL in Site URL

    Also make sure you added your website URL in Site URL

    Also make sure you added your website URL in Site URL

    Also make sure you added your website URL in Site URL

  3. Go to Use cases then Use cases then Settings and put the following URL as Valid OAuth redirect URIs then click Save Changes

    If you installed Sngine in your domain directly like www.domain.com the URI should be like this:
    https://www.domain.com/connect/facebook

    If you installed Sngine in your domain directly but without www like domain.com the URI should be like this:
    https://domain.com/connect/facebook

    If you installed Sngine in sub-domain like sub.domain.com the URI should be like this:
    https://sub.domain.com/connect/facebook

    If you installed Sngine in a directory like domain.com/directory the URI should be like this:
    https://www.domain.com/directory/connect/facebook

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

    If you installed Sngine in a directory like domain.com/directory the URI should be like this…

  4. The app is still In Development — click Publish and follow the steps required by Facebook

    The app is still In Development — click Publish and follow the steps required by Facebook

Add the credentials to Sngine

  1. Go to Sngine Admin Panel → Settings → Registration Settings → Social Login and paste both keys (App ID & App Secret)

    Go to Sngine Admin Panel → Settings → Registration Settings → Social Login and paste both keys (App ID & App Secret)