In this chapter, we learned interesting concepts about REST APIs, authentication, security, and, of course, how to log in to one of the most popular social networks, Facebook.
The first step was to create a direct application on the Facebook platform, selecting the desired login type (login flow for web) and some other additional information, such as application name, permissions, and application ID, among others.
With the application ID in hand, we started building our Delphi application to interact using the REST component suite with Facebook.
It is noteworthy that, without the correct configuration of the components and following the technical standards of connection of the platform, none of this would be possible. The same goes for any REST API service that's available. Some will use OAuth2, like Facebook; others will not. What's important to note is the...