How can I use OAuth and PHP without using the oauth-php library?

api, authentication, mysql, oauth, php

Solution

This library is really simple to use:

http://github.com/jrconlin/oauthsimple/

Problem

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.

Original source