• Resolved reineskye25

    (@reineskye25)


    Hello Sir/Mam,

    Please help me or give me ideas how to use Simple Facebook Connect plugin to know if user is logged in in facebook and has authenticated the the facebook app. Because I’m creating an online voting system and I have used WP Post Ratings. I want users to be only allowed to vote if he/she is logged in in facebook and has authenticated the app using Simple Facebook Connect plugin. I also want to know how to get the email address of the user using simple facebook connect and pass it to a php SESSION variable. Please I need help badly. Can someone point me to the right direction? 🙂

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    $user = sfc_cookie_parse();
    if (isset($user['user_id'])) {
    // $user is connected via FB, and $user contains their information
    }
    Thread Starter reineskye25

    (@reineskye25)

    Thank you very much for your response sir Otto 🙂 Its a very big help for me. Thanks again 🙂 I’ll try it later 🙂 Have a good day 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Facebook Connect] How to know if user is logged in in FB’ is closed to new replies.