This is a class that you canât miss in your developer toolbox. These days almost every website or application uses API âs to get or store data, and thatâs were this class is created for. It helps you to communicate with all types of API âs. Even if you donât have CURL on your server the class will fallback to an implementation that uses âfopenâ without loosing any functionality. You will still be able to choose headers, request methods, timeouts and other settings.
Facebook Graph API example
Get first name, last name and birthday of the user
Get a list of likes