Sign Up/in With Facebook

Hi all!

I am starting a new yii project, and I want to make sure to do it in the rightest way.

I would like to implement a user system in which you can register from facebook (or with the usual way), but i don’t know which user module/extension i should use for it.

Could you suggest a good way to do it please?!

If you have a look to http://www.stay.com/ you will see what i mean, this registration system (or similar) is which i would like to implement.

Thanks, I appreciate any answer!

Regards.

Hi eamador, take a look at this extension: http://www.yiiframework.com/extension/yiiauth/

this is another extension if you want to use just for facebook login http://www.yiiframework.com/extension/facebook-connect/

Sorry the late replying!

Thanks both of you for the ideas, i decided to implement yiiauth, like sergifm said.

I am following the instructions to install and configure it, everything was going good until I went to try it.

  1. I went to http://example.com/yiiauth where you see the social network icons.

  2. I clicked in facebook logo and it goes to http://example.com/hybridauth/?hauth.start=Facebook&hauth.time=1355738104 where i get a 404 error.

So I changed in the main.php config file the base url from


"base_url" => "http://example.com/hybridauth/",

to


"base_url" => "http://example.com/hybridauth/index.php",

and I repeat the same steps:

  1. Go to http://example.com/yiiauth

  2. Click in facebook logo and it goes to http://example.com/hybridauth/index.php?hauth.start=Facebook&hauth.time=1355738104

And I get the 404 error again.

I am following the instructions from http://www.yiiframework.com/forum/index.php/topic/32250-module-yiiauth/

I did all the steps but now i am not sure if i need anything else or i just skipped a step and i did not realize.

Does someone get the same error with yiiauth?

Any suggestion will be really appreciate!

Thanks.