I integrate Facebook Login with the JavaScript SDK on my website. With the following function:
FB.api('/me', function(response) { console.log(JSON.stringify(response)); });
I get the following login 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}!
Can I set the user's age and birthday to find out who is over 18? If so, how can I do this?
source share