Help personalizing my Facebook landing page for each viewer...

Discussion in 'Facebook API' started by cheftom, Mar 9, 2011.

  1. #1
    I am setting up a Facebook page, and I am creating a landing page by creating an application and using iframes.

    I am starting to experiment with the facebook sdk..

    I am wondering how to insert the viewers name into the page design.

    For example...at the top of the page, I want it so say "Hi [viewers name] and welcome to my page"

    How can I do this ?
     
    cheftom, Mar 9, 2011 IP
  2. China Morden Lifestyle

    China Morden Lifestyle Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Im still at the basic too. I;m looking for companies who are helping people to do apps, is there any ?
     
    China Morden Lifestyle, Mar 28, 2011 IP
  3. codeartist

    codeartist Peon

    Messages:
    96
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am assuming that you can using fb api call if yes then use this fbml <fb:name uid="user id" capitalize="true" />
     
    codeartist, Apr 3, 2011 IP
  4. leunamer

    leunamer Peon

    Messages:
    65
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you're using FB Graph API you can use
    
    $me = $facebook->api('/me');
    print($me['name']);
    
    Code (markup):
     
    leunamer, Apr 3, 2011 IP
  5. China Morden Lifestyle

    China Morden Lifestyle Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    that's a good idea, i think i'm gonna use this trick too.
     
    China Morden Lifestyle, Apr 26, 2011 IP