Custom Facebook Identity Provider

Last updated 03/11/2024

Step 1

Log in to the developer site of Facebook:

https://developers.facebook.com/


Step 2

Click on My Apps at the top right, then click Create App.


Step 3

Select Authenticate and request data from users with Facebook Login, then click Next.

Step 3

Step 4

Select No, I'm not building a game, then click Next.

Step 4

Step 5

  • Enter an App Name. We recommend using your company name for the App name, as this name will appear during the login process.
  • Ensure that your contact email is correct.
  • For Business Account, select your company's business account. Business Account Verification is required to complete this setup process.
  • Click Create app.
Step 5

Step 6

On the Dashboard, click on Customize adding a Facebook Login button.

Step 6

Step 7

Click Go to settings for Facebook Login.

Step 7

Step 8

  • For the Valid OAuth Redirect URIs, enter:

    https://api.breadbutter.io/callback

  • Click Save Changes.
Step 8

Step 9

Click Go back at the top right.

Then, in the Permissions section, click Add for email.

Step 9

Step 10

Click Go back at the top right to return to the main menu.


Step 11

At the bottom of the left menu, go to App Settings, then Basic.

Step 11

Step 12

Fill out all of the fields on this page that you are able to. This will ensure that your app will be approved by Facebook.

  • For App domains enter your website domain.
  • Enter your Terms of Service, Privacy policy, and Data Deletion Instructions URLs.

Step 13

  • At the bottom of the page, click Add Platform.
  • Select Website.
  • For Site URL, set this to your website's URL.
  • Click Save Changes.
Step 13

Step 14

Copy and save the App ID and App Secret keys.

Step 14

Step 15

If you see the Complete Data Use Checkup message at the top of the page, click Get Started, then follow the steps on the page to complete the process.

Step 15

Step 16

Return to the Dashboard in the left menu, and follow all of the instructions under Step 2 to prepare and submit your app for review.

  • For testing, simply view the testing page then go back to the Dashboard.
  • For Business Verification follow the steps to verify your business if you have not done so already. Business Verification is required in order to go live.
  • For Data handling questions, follow the steps and answer all questions.
Step 16

Step 17

In the left menu, click Publish, then click the Publish button to set your app to live mode.

Step 17

Step 18

Bread & Butter Setup:

  1. Go to https://app.breadbutter.io/sign-in/
  2. Click Sign In and authenticate (or Sign Up make a new account and authenticate).
  3. Go to Settings in the left menu.
  4. Click on Facebook under SSO Settings > Social Accounts.
  5. Select "Set Facebook for Production".
  6. Enter a custom name and description.
  7. Enter the App ID from the Facebook setup steps above.
  8. Enter the App Secret from the Facebook setup steps above.
  9. Click Save.
  10. Click the checkbox next to your new Facebook provider to enable it.
Step 18


Don’t use Bread & Butter? Want to learn more about how Bread & Butter solves the four biggest problems facing marketers today? Book a demo and see how Bread & Butter is helping marketers make the most of their first-party data