Login   Register  
PHP Classes
elePHPant
Icontem

File: README

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gary  >  Facebook Integration for Zend Framework  >  README  >  Download  
File: README
Role: Documentation
Content type: text/plain
Description: Readme
Class: Facebook Integration for Zend Framework
Authenticate Facebook users with Zend Framework
Author: By
Last change:
Date: 2011-08-07 06:27
Size: 878 bytes
 

Contents

Class file image Download
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

its.spabby@gmail.com