O'Reilly logo

PHP 5 Social Networking by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Developing an API

In order to extend and enhance social networks, most of them provide a suite of APIs that provide developers access to some of the functionality behind the site. We will create our own API to allow developers to interact with Dino Space.

In this chapter you will learn:

  • What an API is
  • What other social networks expose through their APIs
  • What we should expose through our API, and who we should expose it to
  • Methods of creating APIs
  • How to develop a RESTful API
  • How to deal with authentication through the API
  • About the implications of creating an Applications API

Let's get started and add an API to our social network!

What is an API and why should we create one?

An Application Programming Interface (API) is an interface that allows ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required