Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
FacebookAuth module for Kohana 3.2
branch: master

This branch is 2 commits behind mobal:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
classes
config
vendor
readme.txt

readme.txt

FacebookAuth module for Kohana 3.2. Based on 'facebook-php-sdk-v3.1.1-25-g6c82b3f'.
Modified 'facebook.php', now using Kohana's Session manager.

1. Create a folder 'facebookauth' in the modules directory.

2. Copy the files.

3. Edit 'config/facebook.php' file.

4. Edit the 'bootstrap.php' file, enable this module.

Example:

$fb = FacebookAuth::factory();

if($fb->logged_in())
{
	echo $fb->get('email');
}
else
{
	Request::current()->redirect($fb->login_url());
}
Something went wrong with that request. Please try again.