WordPress.org

Ready to get started?Download WordPress

Forums

Nextend Facebook Connect
[resolved] Facebook ID (5 posts)

  1. Jennifer Ayline
    Member
    Posted 1 year ago #

    Hi there!

    I'm using your plugin (as the matter of fact, two of them... FB and TWITTER) and i'm so pleased with it, but there's a cuestion...

    Is there some way to know identify with social network did the user use to login? I mean i can use:

    <?php wp_get_current_user(); echo $current_user->ID; ?>

    To know what's the wordpress user's ID, but how can I get then the Facebook ID to use graph to get the picture in this way.

    <img src="https://graph.facebook.com/_FACEBOOK_ID_/picture"/>

    And gravatar or twitter avatar if is using something else.

    Thanks for the answer.
    Jenny.

    @la_jennylove

    http://wordpress.org/extend/plugins/nextend-facebook-connect/

  2. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    I will add a function for this today. I will reply if the version upgrade is done.

  3. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    = 1.4.23 =
    * new_fb_is_user_connected() function now returns with the Facebook id if authenticated, null if not...

    = 1.4.24 =
    * new_google_is_user_connected() function now returns with the Google id if authenticated, null if not...

    = 1.4.24 =
    * new_twitter_is_user_connected() function now returns with the Twitter id if authenticated, null if not...

    So after an update, you will be able to use this function to get the social id of the user.

  4. Jennifer Ayline
    Member
    Posted 1 year ago #

    ¬°Wooow, that was fast!

    You are awesome... I'll have to buy you a beer at last. ;)

    So many thanks guys!

    Jenny <3

  5. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic