About
fbAuth is a simple class that completes an OAuth handshake with Facebook and retrieves access tokens for your own account and (optionally) any applications and/or pages you may have. The goal is to be as simple as possible, so this requires no database, no memcache and doesn't really do anything beyond grab access tokens. Once they're obtained you can do whatever you want with them of course. In an ideal world you could just extend this with your own Facebook class that does fancier stuff.
Documentation And Examples
This assumes you have already set up your application on Facebook and you know the app id, app secret and have some vague idea of what you're doing.
fbAuth requires a new-ish version of PHP 5 and the CURL extension.
Download and copy fbAuth.php wherever you like and include/require it from your code. Create an array with the following format: