A single API structure cannot fit all applications. We will look at how Facebook structured its API as a social graph. By the end of this video, you will understand what the Facebook Graph API is and how to use it.
- View Offline
- [Instructor] Hello and welcome to section four,…APIs in the Real World.…In the previous section, we learned…how to build and test our own APIs.…In this section, we will take a close look…at some real world APIs…so that we can see the similarities and differences…between what we built and what is out there.…We are going to take a look at two APIs:…Facebook Graph API and GitHub API.…Then, we will look at IFTTT,…which stands for If This Then That, an application…whose sole purpose is to connect different APIs.…
Now we move on to the first video of the section…that deals with Facebook's Graph API.…In this video, we are going to take a look…at Facebook's concept of an API as a graph…and how it affects the decisions of their est resources…We will look at performing actions for reading,…inserting, updating and deleting nodes.…Then, we will look at Facebook's…sophisticated permissions system.…Finally, we will use the Graph API Explorer…to call Facebook's API.…Facebook's Graph API has three main components:…nodes, edges, and fields.…
This Node.js training course gives you an overview of a RESTful API and the logical steps of building one. It explores three different APIs, focusing on their similarities and differences to effectively implement one. Author Saleh Hamadeh starts off by defining APIs, showing how they can be built on top of HTTP and listing the properties that make an API RESTful. Then learn how to develop Twitter Notes, a sample web application that lets its users leave notes for their Twitter friends. You'll use Twitter's API to implement a login flow and then design a web API. In addition, you'll get a closer look at two other real-world APIs—Facebook API and GitHub API. Finally, learn some best practices to keep APIs secure, maintainable, and efficient.
- Identifying REST resources
- Setting up the development environment
- Consuming a RESTful API
- Creating an OAuth login request
- Getting an access token
- Saving data in MongoDB
- Building a RESTful API
- Looking at APIs in the real world
- Best practices for building RESTful APIs