11 thoughts on “PHP Facebook Login Tutorial using Facebook SDK 4.0”

  1. I like your tutorial. I have one question it is about Android. how to hide HOME button and most recent button in the application . send mi answer above email.

  2. Hello,
    how can I get the values in php ? as you got the name
    $name = $graph->getName();
    I tried for example $email = $graph->getEmail(); but the value is showing nothing.

  3. Hi,

    Do you know how to get the value of email like the name. I’m trying the similar way like you did for name.

    $email = $graph->getEmail();

    But, it doesn’t work. I guess my syntax for email is not correct.

  4. plz solved the error

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\wamp\www\FacebookLoginPHP\lib\Facebook\FacebookResponse.php on line 137

  5. Hi, now latest version SDK v5 available to implement Facebook Login feature. Facebook update few things in to access these features.

    Also it require to add redirect url in Facebook Login -> setting page. Otherwise its give ‘domain not added in app’ error.


Leave a Comment