-
Notifications
You must be signed in to change notification settings - Fork 1
smart-art/Kohana-Facebook-Module
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Step 1.
Create the folder 'fbauth' in modules directory.
Step 2.
Copy the 'classes', 'config' and 'vendor' folder to it.
Step 3.
Edit the config/facebook.php file.
Step 4.
Enable the fbauth module in Kohana's bootstrap file.
Step 5.
Use the module!
Example:
$fbauth = FBAuth::instance();
try
{
$username = $fbauth->get('username');
$email = $fbauth->get('email');
$uid = $fbauth->get('uid');
// Do something
}
catch (Exception $e)
{
Request::current()->redirect($facebook->login_url());
}
About
Facebook Authentication module for Kohana
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published