• Resolved Anonymous User 15521305

    (@anonymized-15521305)


    Hi, I get this error when I try to login with my facebook account

    “We need your email in order to continue. Please try loging again.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I just arrived here, so sorry for the late reply. If it’s still a problem, here’s a solution:
    This error occurs, when the user’s email can’t be requested for whatever reason (mostly because the user sets their FB email to not public). AFAIK the older versions of the plugin (like most other FB login plugins) used the email address to identify the user. Luckily it’s no longer the case here, so you can do the following:
    Find the file class-facebook-login-public.php, it should be in wp-content\plugins\wp-facebook-login\public\ (you can edit it in WP as well). Find the line

    if( empty( $fb_user[’email’] ) )
    $this->ajax_response( array( ‘error’ => __(‘We need your email in order to continue. Please try loging again. ‘, ‘fbl’ ) ) );

    and just comment it out. This way, the Email won’t be checked, so no error will occur.

    Hope it helps.

    Kacsa

    • This reply was modified 7 years, 3 months ago by kacsa.
    Thread Starter Anonymous User 15521305

    (@anonymized-15521305)

    @kacsa

    Hi, sorry for late reply. Anyway,thanks for your solution! The problem is solved now.

    • This reply was modified 7 years, 2 months ago by Anonymous User 15521305.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error: We need your email in order to continue. Please try loging again.’ is closed to new replies.