WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Facebook ID

[Resolved] Facebook ID

  • Jennifer Ayline
    Member

    @jennifer-ayline

    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nextendweb
    Member

    @nextendweb

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

    Plugin Author Nextendweb
    Member

    @nextendweb

    = 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.

    Jennifer Ayline
    Member

    @jennifer-ayline

    ¡Wooow, that was fast!

    You are awesome… I’ll have to buy you a beer at last. 😉

    So many thanks guys!

    Jenny <3

    Plugin Author Nextendweb
    Member

    @nextendweb

    🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Facebook ID’ is closed to new replies.