Facebook recently introduced many options for Gender besides male and female. Is there a list of all possible values for 'gender' field in Graph API?
The Graph API is the primary way to get data into and out of the Facebook platform. It’s an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks. Then select the first link which is shown.
Facebook introduced dozens of options for users to identify their gender today - and although the social media giant said it would not be releasing a comprehensive list, ABC News has found at least 58 so far. Previously, users had to identify themselves as male or female.
Places Graph is a separate Facebook solution available for Android and iOS platforms only. With it your app can get the information about users current location. It also enables search for and discovery of places, location sharing, and geo tagging. Places API also requires getting access tokens from users.
The full details can be found in the Pages API Documentation. Don’t forget you need a token from an app user who owns or can perform a required task on the page. There are two types provided by Facebook – Video API and Live Video API. Both of these post videos on a page, group or event administered by an app user.
Ok I found out. I tried setting custom gender in a test account.
The possible values are still only 'male' and 'female'. When you select a custom gender and then enter one of the custom genders, then there is a field near the bottom with option - What pronoun do you prefer?
Here depending on what you choose the gender field returns 'male' or 'female', irrespective of what you enter in 'Gender'. However, if you choose 'Neutral' then Graph API has no 'gender' field in it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With