I need to build a script that uses OAuth authentication to connect to Foursquare's API, but oauth-php library is too complicated.
Any one page scripts that don't use MySQL? I would rather just use cookies.
I need to build a script that uses OAuth authentication to connect to Foursquare's API, but oauth-php library is too complicated.
Any one page scripts that don't use MySQL? I would rather just use cookies.
I've written an PHP oAuth library that is painfully easy to use. Check it out on GitHub.
Have you tried this one?
https://svn.iamcal.com/public/php/lib%5Foauth/lib%5Foauth.php
It wouldn't fit in one page but it's really simple.
Check out the oauth portion of the library at http://code.google.com/p/photobucket-api-php5/
Also, the Zend_Oauth
module (available in the incubator, and hopefully in the next Framework release) is excellent and easy to use. It just looks like a Zend_Http_Client
after you set it up.
I really like both of them ... Can these be used as oauth server ? I need a simple class ...