Once we get access to a user’s Twitter data, it's used in the application. This video explains Twitter’s API concepts.
- [Instructor] In the previous video, we learned how to get…an access token to access the user's data.…In this video, we will learn about tweeting…using an HTTP GET request, searching for tweets…using an HTTP POST request,…and getting friends by accessing cursored collections.…Let's open Twitter's REST API docs.…On this page, we can get information…about Twitter's rate limits…and tips for consuming the APIs correctly.…I encourage everyone to take some time…to read the documentation.…
On the left side of the page,…we can see a list of all API endpoints.…First, there are the statuses,…media is here, direct messages, friendships, friends,…account APIs, users, and so on.…Notice that this API looks different…from the ones we looked at in section one.…The API only uses the GET and POST methods,…and POST methods are used on procedure endpoints…instead of collections.…As we learned earlier,…REST does not describe any implementation details.…
As long as the implementation…follows the architectural constraints,…developers are free to build their APIs…
This Node.js course gives you an overview of a RESTful API and the logical steps of creating one. It explores three different APIs, focusing on their similarities and differences and how to effectively implement one. Instructor 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. Learn how to develop Twitter Notes, a sample web application that lets users leave notes for their Twitter friends. Use Twitter's API to implement a login flow and then design a web API. Additionally, get a closer look at several other real-world APIs, and 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
- Testing user-perceived performance
- Looking at APIs in the real world
- Best practices for building RESTful APIs