Skip to:

Force Email Registration with Facebook Connect

  • I am hoping to allow people to connect their profiles with their Facebook account, but I also want to make them provide email (for email list subscribing), and other information on creation of their account. I have seen a couple of websites that have done this in the fashion I am describing:

    Any ideas how this can be accomplished?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Kevin Pine


    I think you mean

    This is functionality I am looking for too.



    There are two ways to do it, first you can go to facebook apps settings, and create a callback upon successful login, and on that callback page you ask the user his email. Or you may setup your account that facebook will ask user if your app is allowed to send him direct emails.

    – first case, you need to store the email somewhere else on wp database, since user_email section will be occupied by fb provided proxy email. i don’t know if it breaks the fb-connect functionality if you overwrite that with user’s real email.

    – second case, sort of email becomes a gateway to your user. you will see that email on user_email section on wp database, if you send an email however, before user approves through fb, it will bounce.

    i haven’t implemented it, this is kind of my research before fb revised their api, so I apologize in advance if it’s not accurate.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Force Email Registration with Facebook Connect’ is closed to new replies.
Skip to toolbar