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

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
主站蜘蛛池模板: 延寿县| 辉县市| 资阳市| 桦川县| 邵阳市| 江城| 加查县| 清镇市| 天长市| 友谊县| 田东县| 平山县| 镇雄县| 民权县| 霍山县| 永平县| 通化县| 乐业县| 岫岩| 酒泉市| 乌海市| 蒙阴县| 呈贡县| 佛学| 咸宁市| 望奎县| 巴林右旗| 珲春市| 宁津县| 德惠市| 昌乐县| 蒙城县| 炉霍县| 双辽市| 唐河县| 万山特区| 庆云县| 江油市| 合肥市| 禄劝| 疏勒县|