I
I
Ivan Shevtsov2017-09-23 17:41:24
Facebook
Ivan Shevtsov, 2017-09-23 17:41:24

How to get date of birth or age via FB API?

You need to find out the date of birth or age of a person through the FB API, I didn’t find anything in the documentation about this, how is the age variable indicated?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Philipp, 2017-09-25
@apelsin2017

The variable, or rather the field, is called birthday . Access to it requires additional privileges - user_birthday.
If you don't need exact data, you can use age_range instead of birthday. It will work without asking for additional privileges.

O
oh, 2017-09-23
well @AnneSmith

no way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question