CakePHP 2 Facebook Authentication Handler

tldr: Fork it on GitHub.

The purpose of the Facebook Authentication Handler is to provide Facebook Authentication for your CakePHP 2.0 or later based application. The handler has been built following Cake's recommended approach for building custom authentication objects for use with the built in AuthComponent.

The handler itself is part a FacebookAuth plugin, though this just makes the handler easy to redistribute. Includes example configuration settings and a controller detailing a typical use case.

Note that though the handler stores the access token returned by Facebook, it does not provide a means to makes requests to the Graph API. It's function is to provide authentication. Of course, you could use the access token and your preferred method to communicate with Facebook.

Moz Morris

Moz Morris

Freelance Web Developer