Support » Plugin: WordPress Social Login » Link your existing account on our website to your Facebook ID fails

Viewing 4 replies - 1 through 4 (of 4 total)
  • I could link my Google account and my Twitter account to my website account, no problem. So, just an issue with linking FB.

    I’m having this same issue but with Facebook, Google, and Twitter

    Anyone solve this? I’m having the same issue with Facebook and Google. Can not link existing account.

    • This reply was modified 3 years, 1 month ago by GusSalvador.

    I had this same problem and did some digging. this test is not extensively tested but it works now and I activated facebook, twitter and google+. I kept getting into conflict because the email address for FB was different than the one stored for WP.

    Look around line 493 for the following

    $hybridauth_user_email = $requested_user_email;
    
    // Bouncer::Filters by e-mails addresses
    

    and replace it with

    if($wordpress_user_id){
        $u = get_userdata( $wordpress_user_id );
        $hybridauth_user_email = $u->data->user_email;
        $hybridauth_user_profile->emailVerified = $hybridauth_user_email;
    } else {
        $hybridauth_user_email = $requested_user_email;
    }
    
    // Bouncer::Filters by e-mails addresses
    

    All this is saying is that since the name/pass worked earlier to WP then we have a good user to connect to and to use the WP email, not the external social one.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link your existing account on our website to your Facebook ID fails’ is closed to new replies.