Set Up Project and Fetch Client Credentials
Explore the process of setting up OAuth 2.0 with Facebook by registering as a developer, creating a developer app, configuring Facebook Login, and fetching the necessary client credentials. This lesson helps you prepare your app to access Facebook user resources securely.
Facebook Login manages the OAuth 2.0 flow for Facebook. It allows third-party applications to access Facebook resources of the users using Facebook APIs. This lesson goes over the steps needed to set up OAuth 2.0 with Facebook in your applications.
To get a better idea of the process, let's say you've built an application that fetches user- uploaded images from Facebook and allows the user to view these images. The OAuth entities in this case will be as follows:
Client: Your application that fetches images from Facebook.
Resource owner: The user who wants to use your application to see the images. You'll be accessing your own resources through the client, so you are the resource owner in this case.
Authorization server: Facebook's authorization server
Resource server: Facebook's resource server.
To get started, you need to register the client on Facebook by creating a developer app on ...