This sample app demonstrates many of the capabilities of the cake-sociall project.
Check out online demo
-
Install composer
curl -s https://getcomposer.org/installer | php
-
Download libraries and plugins
php composer.phar install
-
Change tmp directory permissions
chown -R www-data app/tmp
-
Create database and CakePHP database configuration
Check out here
-
Set up URL rewriting
Check out here
-
Set up CakePHP email configuration
Check out here
-
Create tables
Console/cake schema create users --plugin Users Console/cake schema create --plugin Social
-
Set up provider key and secret.
Twitter
Configure::write('Opauth.Strategy.Twitter', array( 'key' => 'Your key', 'secret' => 'Your secret' ));
Facebook
Configure::write('Opauth.Strategy.Facebook', array( 'app_id' => 'Your app ID', 'app_secret' => 'Your app secret' ));