• I can get email but is it possible to get phone, dob, sex and etc from facebook? I have custom fields in user profile just not sure if it’s possible to get data from facebook into them.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter collinsavenue

    (@collinsavenue)

    I’m not really good with php but after digging in db I fount there is some more data in wp_wslusersprofiles like gender and etc.

    If my code is this:

    <input type="text" name="country" id="country" value="<?php echo esc_attr( get_the_author_meta( 'country', $user->ID ) ); ?>" class="regular-text" /><br />

    Then how do I call gender from wsluserprofiles or how can I make that table as user meta?

    Also is there any reason my date of birth and some other stuff that I have made public, don’t get saved into db?

    Thread Starter collinsavenue

    (@collinsavenue)

    To simplify my question:
    If <input type="text" name="wsl_current_provider" id="wsl_current_provider" value="<?php echo esc_attr( get_the_author_meta( 'wsl_current_provider', $user->ID ) ); ?>" class="regular-text" />
    and
    <input type="text" name="wsl_current_user_image" id="wsl_current_user_image" value="<?php echo esc_attr( get_the_author_meta( 'wsl_current_user_image', $user->ID ) ); ?>" class="regular-text" />
    work fine, then why can’t I get gender from wp_wslusersprofiles table? How can I make it show up under user’s metadata?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get phone field from facebook?’ is closed to new replies.