login via facebook

hi, im new in yii :)

can someone write how to login to my web site via facebook;

that means i have button on login site, who will take facebook username and email and will ask the "new user" for password and salt and that all together will save into the database

the project i work is a demo-blog

tnx to all

Here ,

Extension for Yii for login in facebook usefull

http://www.yiiframework.com/extension/facebook-connect/