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

How to get email adress in a graph api facebook application?

Discussion in 'FaceBook' started by thor hammer, Dec 11, 2010.

  1. thor hammer

    thor hammer Newbie

    Joined:
    Jan 31, 2010
    Messages:
    19
    Likes Received:
    1
    Hi, i search the js or php code for retrieve the user email in a application.

    Is someone know this code please?
     
  2. locknload007

    locknload007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 14, 2010
    Messages:
    475
    Likes Received:
    67
    Where ever you put publish_stream add email with a comma between the two

    EDIT: Maybe that is not exactly what you want, maybe you are already getting it and want to actually pull it into a database?
     
  3. thor hammer

    thor hammer Newbie

    Joined:
    Jan 31, 2010
    Messages:
    19
    Likes Received:
    1
    no, i look for the code who get the value of the mail.
    I just need the value, the function to put in the db is already made
     
  4. locknload007

    locknload007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 14, 2010
    Messages:
    475
    Likes Received:
    67
    Code:
    $fbme = $facebook->api('/me?fields=id,email'
    Is that what you need?
     
    • Thanks Thanks x 1
  5. thor hammer

    thor hammer Newbie

    Joined:
    Jan 31, 2010
    Messages:
    19
    Likes Received:
    1
    really thankx to you, that's what i needed
     
  6. moneyrocks

    moneyrocks Supreme Member

    Joined:
    May 22, 2009
    Messages:
    1,205
    Likes Received:
    135
    thanks for the post can come handy some where for sure...