Reputation:
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.
Upvotes: 16
Views: 13894
Reputation: 101
If you dont want to use oauth-php library you can even write your own small lib doing this. You can for example check my the simplest and the smallest implementation of the OAuth with Twitter and Linked:
https://github.com/adrianmalik/php-oauth/blob/master/README.md
There will find everything you need to do this.
Upvotes: 0
Reputation: 1
I have used this library: http://code.google.com/p/oauth-php/ and now able to understand why there is two different thing consumer and server well basically Its seems example here is doing the same thing here.
Upvotes: 0
Reputation:
This library is really simple to use:
http://github.com/jrconlin/oauthsimple/
Upvotes: 5
Reputation: 5069
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.
Upvotes: 0
Reputation: 75456
Have you tried this one?
https://svn.iamcal.com/public/php/lib_oauth/lib_oauth.php
It wouldn't fit in one page but it's really simple.
Upvotes: -4