官术网_书友最值得收藏!

Building a Facebook REST API

Still talking about social networks, Facebook is undoubtedly the largest one. With more than 2 billion active users in 2018, it had twice the number of users of Instagram and WhatsApp. Curiously, Facebook owns both. Do not be surprised if a new social network belongs to billionaire Mark Zuckerberg. 

This chapter will transcend the boundaries of Delphi; you will have to interact with the Facebook platform.

Initially, you will be introduced to Facebook's development platform in order to create an application on the social network. This application will be used to perform the integration between Delphi and Facebook.

You will then learn about Representational State Transfer (REST) concepts and the JavaScript Object Notation (JSON) standard. Basically, we will traffic a file or text in JSON format to a REST server, using the Facebook API.

Finally, with a properly configured Facebook application and the REST concepts learned, we will have what we need to do a Facebook login and search for the friends, for example. The possibilities will be according to the permissions that your application needs, from capturing personal information to posting a photo, video, and whatever else the Facebook API allows on the timeline.

Intermediate knowledge is needed to understand this chapter. It is necessary to be well aware of the concepts of web services and security.

In this chapter, you will learn about the following:

  • Creating an application on Facebook
  • Understanding request and response REST services
  • Working with JSON
  • Logging in with Facebook
主站蜘蛛池模板: 武定县| 英山县| 镶黄旗| 榆树市| 法库县| 天台县| 原阳县| 开封县| 德惠市| 富顺县| 龙泉市| 五华县| 张家口市| 呈贡县| 曲阳县| 西乡县| 吉水县| 三原县| 荣成市| 福鼎市| 兴海县| 双辽市| 榆中县| 叶城县| 澎湖县| 通化县| 大同市| 金门县| 焦作市| 含山县| 浦城县| 喀喇沁旗| 吉林省| 榆社县| 潮州市| 襄汾县| 绥棱县| 南京市| 奇台县| 桓仁| 双柏县|