You need to register your project as an application on Facebook before you can access the Facebook API using Delphi. We can do this using the following page: https://developers.facebook.com/apps. The page will look like the following screenshot:
We will create the application on the Facebook platform, which is necessary to perform the integration and log in on the Facebook platform for this project and follow these steps:
- Add a new application to Facebook. For this chapter, we will call it DelphiProjectsPackt:
- Solve the reCAPTCHA and Submit your information:
- Navigate to Select a Scenario | Integrate Facebook Login:
- Before saving changes, fill in the two required fields—Privacy Policy URL and Category:
- Save the changes.
- Click on Finish Quickstart, as shown in the following screenshot:
- Select Web in Quickstart options...