PHP Classes

Facebook Integration for Zend Framework: Authenticate Facebook users with Zend Framework

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 898 All time: 3,930 This week: 160Up
Version License PHP version Categories
zf-facebook 1.0.0GNU General Publi...5.2PHP 5, User Management, Web services, S...


This package can authenticate Facebook users with Zend Framework.

It provides a Zend Framework controller that can access the Facebook API and authenticate Facebook users using oAuth and the iframe authentication mechanism.

Picture of Gary
Name: Gary <contact>
Classes: 1 package by
Country: United Kingdom
Age: ???
All time rank: 2491115 in United Kingdom
Week rank: 364 Up14 in United Kingdom Up


Spabby's Facebook ================= A set of Zend Framework designed to make Facebook iframe integration a snip. INSTALLTION 1. Checkout the SFB directory to the library folder of your ZF project. USAGE 1. Add the following lines to your application.ini: autoloaderNamespaces[] = SFB_ SFB.fbAppId = <Facebook Application ID> SFB.fbSecret = <Facebook Secret> 2. Any controllers you want to be only viewable as a Facebook iframe application, simply extend SFB_BaseFBAuthController, and make sure any init() function calls parent::init(). 3. Call your now Facebook enabled application from within a Facebook iframe app. 4. Use $this->_facebook to integrate with the graph api, use the handy common methods, or extend SFB_Facebook to add your own! 5. Calls to the Graph API are cached in the session, unless you set the $resetCache parameter to true. Enjoy

  Files folder image Files  
File Role Description
Accessible without login Plain text file README Doc. Readme
Plain text file Base.php Class Base class with magic methods
Plain text file BaseController.php Class Base Controller class
Plain text file BaseFBAuthController.php Class Base Class handling facebook authentication
Plain text file Exception.php Class Custom Exception
Plain text file Facebook.php Class Facebook API access class
Plain text file FacebookAuth.php Class Facebook authentication methods

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,930
This week:160Up
 User Ratings  
 All time