In what format does the Facebook api return as a "birthday",

According to Facebook docs, a request for birthday data is made by querying user_birthday , and then the birthday row is stored on the birthday in the returned array.

What format does it return to, and does the format change according to user settings?

Formats I would predict

1990-05-22 // standard 05.22.1990 // USA reverse format 22.05 // User hid birth year 1990 // Getting only birth year without a date NULL // User hid entire birthday 

It’s important for me now to determine whether Facebook gives one standard format for birthday values ​​or does its format depend on user birthday settings?

+7
facebook facebook permissions
source share
1 answer

The birthday returned by facebook is a string format: MM/DD/YYYY .

Reference .

+16
source share

All Articles