- Delphi Programming Projects
- William Duarte
- 318字
- 2021-06-24 14:27:10
Creating an application on Facebook
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:

- Confirm the next steps, advancing with the information requested by Facebook.
At this point, it is important that you save the application ID to use later in our Delphi components, in order to access the Facebook platform.
To enable Facebook login in a desktop app, we need to embed a web browser (also referred to as WebView) within the app to carry out the login process.
Facebook has several methods for platform access for developers. For mobile devices, it is best to use the SDK. We will use the hybrid model; in this model, you can connect using your desktop application and, including with your mobile application, with FireMonkey.
Let's work on the hybrid model. Try using the official Facebook SDK in your Android and iOS apps. In GitHub, there is a development project called grijjy. Check out this link for more information: https://github.com/grijjy/DelphiSocialFrameworks.
It is necessary to initially create an application on the Facebook platform because we need the access token, which will later be your access key to use the Graph API.
- Linux運維之道(第3版)
- 嵌入式Linux開發(fā)技術(shù)
- 鴻蒙生態(tài):開啟萬物互聯(lián)的智慧新時代
- Haskell Financial Data Modeling and Predictive Analytics
- 深入Linux內(nèi)核架構(gòu)與底層原理(第2版)
- Linux服務(wù)器配置與管理
- 計算機系統(tǒng)的自主設(shè)計
- Social Data Visualization with HTML5 and JavaScript
- Windows 7實戰(zhàn)從入門到精通
- Windows 10從新手到高手
- Learn SwiftUI
- 鴻蒙HarmonyOS手機應(yīng)用開發(fā)實戰(zhàn)
- bash shell腳本編程經(jīng)典實例(第2版)
- Getting Started with Raspberry Pi Zero
- Python機器學(xué)習(xí)系統(tǒng)構(gòu)建(原書第3版)