Creating new WordPress users with Facebook API

I’m trying to allow new users to register for my WordPress site using their Facebook account. I know how to create a new user manually, but I’m not sure how to handle situations in which a user has already registered for the site with an email address that’s different from their facebook account.

I need to create an official WP user, but I don’t want pre-existing users to end up with two different acccounts (if their Facebook email doesn’t match their pre-existing email). I’m not sure if there is a way to assign multiple emails to one account. Even if there is, I suspect this will be problematic.

Read More

What’s the best way to handle this?

Related posts

Leave a Reply

1 comment