Painless OAuth with PHP
Note: This article was originally published at Planet PHP
on 10 October 2012.
Painless OAuth with PHP
By Manuel Lemos
OAuth is a widely used protocol to access APIs of certain Web sites on behalf of users of those sites.Despite OAuth is relatively easy to explain, it is not easy to implement it without dealing with the headaches of the multiple protocol settings, the different protocol versions, the details of specific site implementations, and the worst of all having to know more about the details of the protocol than you would like to care.
Read this article to learn how to use this PHP OAuth API class to access any API of any site that supports any version of OAuth without having any of those headaches.


