How to check if a person is logged in to facebook?

Discussion in 'Programming' started by ExTeNsIoN, Jan 6, 2011.

  1. #1
    Well basically this is what i want to do :

    When a User visits http://mydomain.com/file.html ,i want these to happen :

    1. Redirect to location1 if person is already logged-in to his facebook account.

    OR

    2. Redirect to location2 if person is not logged-n to his facebook account.

    Is this possible?
     
    ExTeNsIoN, Jan 6, 2011 IP
  2. jazzcho

    jazzcho Peon

    Messages:
    326
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
  3. ExTeNsIoN

    ExTeNsIoN Member

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    ExTeNsIoN, Jan 6, 2011 IP
  4. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    check whether facebook session or not?
     
    roxcon, Jan 6, 2011 IP
  5. sayan801

    sayan801 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes it is possible... You need to write a fb app or use fb connect on ur site.... contact me for further info..
     
    sayan801, Jan 6, 2011 IP
  6. sayan801

    sayan801 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    have a look here.... https://github.com/facebook/php-sdk/
     
    sayan801, Jan 6, 2011 IP
  7. ExTeNsIoN

    ExTeNsIoN Member

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    all this is concerning the particular APP SESSION, i need to know if a user is logged in to FACEBOOK or not, not the application.
     
    ExTeNsIoN, Jan 7, 2011 IP
  8. sayan801

    sayan801 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    facebook have not released any social plugin yet to know user login status without using a fb app or fb connect.... have a look at available social plugins at http://developers.facebook.com/plugins
     
    sayan801, Jan 7, 2011 IP
  9. sysbee

    sysbee Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I was going to say the same thing
     
    sysbee, Jan 30, 2011 IP