Many users wanted to make their users able to register via facebook as well to make things easy for their users. Well not all customers want to use facebook login or connect feature that’s why we have made an activation button where you can select weather you want to allow your users to register via facebook or not.
Using this feature you can allow your users to login into php application by one click. This works like this first you go to http://dev.facebook.com/ and register for a new application then you select Web as application user put your Email and use your website name there make sure if you use there http://www. then your facebook login will work only with http://www. else without www. This is very important.
Once you have activated facebook connect from General settings in backend of php login and user management with message center now your users will have facebook login button in their register.php and login.php.
If someone already registered in your system let’s say if your system already have their Email in database facebook login button will login them into system without requesting password or any further information.
If user is not already registered or his/her email does not exist in our system our system will get their first name, last name, email and gender from their facebook save them in our database creating their user account and generating an random password for them After that email them their login information if in future they want to login without facebook. That is it how it works. Let me know if anyone need help in anything.