Putting it all together!

Looking back at our list of necessary properties, we're able to fill in all the required fields:

  • Client ID: wmiig-550106
  • Client secret: DFIAJAO98SH9832HVMQI3
  • Redirection endpoints: http://wmiig.com/callback.html, http://wmiig.com/callback
  • Authorization endpoint: https://www.facebook.com/dialog/oauth
  • Token endpoint: https://graph.facebook.com/oauth/access_token

Tip

We provide fake client credentials in the preceding list for obvious reasons. However, you will get your own values when you register, which you can plug into your own application.

We now have all of the information we need to move forward with our integration. Let's start building our application!

Get Mastering OAuth 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.