I am integrating Facebook Login with JavaScript SDK on my website. With the following function:
FB.api('/me', function(response) {
console.log(JSON.stringify(response));
});
I get the following logged-in user information:
{"id":"xxxx","email":"xxxx","first_name":"xxxx","gender":"xxxx","last_name":"xxxx","link":"https://www.facebook.com/xxxxx","locale":"xxx","name":"xxxx","timezone":xx,"updated_time":"xxxxx","verified":true}!
It is possible to get user's age and birthday to verify if user is 18 or older? If yes, how can I do that?