Nice module, keep up the good work!
I test-drove it (Facebook only) today. Here are my installation steps. As I am very new to Yii I had a bit of the struggle. Hope this helps somebody else as well.
1. Created a new facebook app
According to: hybridauth.sourceforge.net/userguide/IDProvider_info_Facebook.html). Important to set your Site url in Facebook exactly the same as in config file baseUrl parameter.
2. Created a Yii skeleton app.
3. Made changes in protected/config/main.php
Uncommented the url manager, added .htaccess (see www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config)file to website root dir.
4. Created 2 new tables in default (testdrive) sqlite database:
CREATE TABLE [ha_logins] (
[id] INTEGER PRIMARY KEY AUTOINCREMENT,
[userId] int(11) NOT NULL,
[loginProvider] varchar(50) NOT NULL,
[loginProviderIdentifier] varchar(100) NOT NULL);
I know, MySQL table, provided in the extension description, had a lot more keys and indexes.
For User model:
CREATE TABLE [user] (
[id] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
[username] VARCHAR(128) NOT NULL,
[password] VARCHAR(128),
[email] VARCHAR(128) NOT NULL);
(Notice the password can be null)
5. Create a User model (either with gii or yiic)
The user module does not work normally yet, this is only for testing hybridauth. For exampl see: www.yiiframework.com/doc/blog/1.1/en/prototype.auth
6. Paste the configuration data into main.php
Make required changes (baseUrl, app-ids, and secrets).
Important! If you are using Linux server, change provider indexes first letter to upper case (see the 1st comment on the extension page).
7. Unpack extension to newly created protected/modules dir
Go to: your-path/dir/hybridauth and click on facebook icon.