How To Fectch Google First Name And Email Into Database

Hi, i’m new ti yii. I’m doing my project in using yii, i want to login with facebook and google to my website. I done this module, but, i didn’t get facebook or goolge firstname or emails are nothing added into mydatabase. Can i know how to get these into my database.

     Thanks in advance.

When i login with google it saying like this…

exception ‘CHttpException’ with message ‘Unable to resolve the request “google?state=be831c7ad7cbc5044a0ded6dfa15bc57fc42bb9a”.’ in /var/www/skeleton/yii/web/CWebApplication.php:286

Stack trace:

#0 /var/www/skeleton/yii/web/CWebApplication.php(141): CWebApplication->runController(‘google?state=be…’)

#1 /var/www/skeleton/yii/base/CApplication.php(169): CWebApplication->processRequest()

#2 /var/www/skeleton/index.php(18): CApplication->run()

#3 {main}.



pls help me how to solve this problem.

You are linking "google" page in incorrect mode.

You have to link always controller/action. "google" is controller or action?

In either way, you are missing controller or action.

What extensions are you using? I’ve had a good experience using these 2 in conjunction


Also, correct me if I’m wrong, but Facebook isn’t an OpenId provider. They use their own authentication system called Facebook Connect. This extension might help.