Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
FacebookAuth module for Kohana 3.2
PHP
branch: master

Merge pull request #5 from lexakozakov/master

[BugFix] In case when we are using a database for storing session data.
latest commit c04cbae9d0
@mobal authored

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.