-
Notifications
You must be signed in to change notification settings - Fork 1
facebook api php wrapper for yii framework
wartron/yii-facebook
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
yii-facebook Facebook Library Wrapper **Installation** * Extract the release files under 'protected/extensions' * Configure settings in 'Main.php' **Site Configuration** For Like Buttons 'import'=>array( 'application.extensions.yiifacebook.WidgetLike', ... For Single Sign On (SSO) 'components'=>array( 'facebook'=>array( 'class' => 'ext.yiifacebook.YiiFacebook', 'dev_appid'=>'YOUT_DEV_APP_ID', 'dev_secret'=>'YOUT_DEV_APP_SECRET', 'cookie'=>false, ), ... **Usage** *Widget Like Button* Stick this code inside a layout or view file. Optionaly pass a 'url' (default will use the current document url) <?php $this->widget('application.extensions.yiifacebook.WidgetLike', array( 'url'=>'',//when blank use current page )); ?>
About
facebook api php wrapper for yii framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published