Store Facebook Details In Database

i am using Nodge’s open auth for Facebook authentication of my application. I am also yum -yii user module for registration and login functionality.

i am able to login using facebook but now i want to store facebook information in my database.

here is what i am ding to store facebook info like name, email and dob to database:

1)implemented nodge’s facebook extension and authentication works fine.

2)I am redirecting the user to registration page of yum after fb authentication.

3)Now i want to automatically update the form with the retrieved information like name, email etc in form.

  1. form can be submitted by the user after that and information will be stored i our database.

please help me with the step 3- update the registration page using information fetched from facebook.

Thanks in advance.