Hi,
I am able to retrieve the following information from the user: firstname, lastname, email. I would like to retrieve their facebook profile picture as well? How to do retrieve it?
Code i am using now:
$firstname = $data->user->identities[0]->name->givenName;
$lastname = $data->user->identities[0]->name->familyName;
$email = $data->user->identities[0]->emails[0]->value;
Help me out.
Answers
you can use
$thumbnail = $data->user->identities[0]->thumbnailUrl; $picture = $data->user->identities[0]->pictureUrl;
Regards,