R – How do we register users — Facebook Connect users logging in the first time — when we cannot get an email address from facebook

asp.netauthenticationfacebookmembership-providerregistration

Facebook Connect allows for very limited communication and access to the user's information.

When a user logs in with Facebook Connect I would like to create an account for the user on our site that is linked up to their Facebook account.

The only problem is registration (MembershipService.CreateUser(username, password, email)) requires an email address, which we do not have access to. (We let them choose a username before linking up the accounts).

How would you register a user without having their email address?

I would rather not make them enter it in when they link up the accounts, and I know it can be done. Digg does a very nice job of exactly what I would like to do.

Best Answer

You can register the user with your site but let the user know they have been partially registered and to complete the registration they must enter their remaining personal details (i.e. email address)

Still allow the user to utilise your website but always prompt them that they have not yet completed their registration.

It's just like Stack Overflow, you don't have to register your email address with them unless you wish to receive email updates on your posted questions etc

Thanks