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

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
主站蜘蛛池模板: 阳山县| 从化市| 自贡市| 呼玛县| 玉门市| 天峨县| 阜宁县| 元朗区| 旅游| 那曲县| 噶尔县| 阿拉善左旗| 阿拉善右旗| 盈江县| 汝阳县| 定边县| 九寨沟县| 肥西县| 湾仔区| 东兴市| 禹州市| 泸溪县| 成武县| 满洲里市| 木兰县| 芮城县| 景宁| 荣成市| 商丘市| 略阳县| 徐闻县| 宁强县| 化德县| 陇西县| 延边| 湖州市| 武功县| 麻江县| 陆良县| 皋兰县| 含山县|