1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting a visitor's profile url with facebook's like button?

Discussion in 'Social Networking Sites' started by amrak, Jan 14, 2011.

  1. amrak

    amrak Registered Member

    Joined:
    Jun 29, 2010
    Messages:
    74
    Likes Received:
    21
    Ok so I have a wild idea in mind, but in order to make it work, I need a way to access a visitor's facebook profile url from one of the available fb social plugins (i.e.: the like button, share, etc..)

    The question is how?

    The like button uses an iframe that loads the fb user data but is inaccessible via js due to it being a different domain than my site. So I can't pull the user's profile url from there.

    I just need the profile url of the visitor. Is there another kind of plugin fb offers that will let me have users login to facebook without leaving my site, and then letting me have access to their data somehow?
     
  2. amrak

    amrak Registered Member

    Joined:
    Jun 29, 2010
    Messages:
    74
    Likes Received:
    21
    Am I just dumb and not seeing that this can be done with facebook's application api ? lol
     
  3. BillSmirnoff

    BillSmirnoff Newbie

    Joined:
    Jan 14, 2011
    Messages:
    15
    Likes Received:
    0
    It sounds like something that could be done with the Open Graph API. Check the docs for that.