Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the possible values of 'gender' field in Facebook Graph API?

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?

like image 541
AppleGrew Avatar asked Apr 05 '14 08:04

AppleGrew


People also ask

What is Facebook Graph API and how to use it?

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.

How many people on Facebook have identified their gender?

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.

What is places graph in Facebook Places API?

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.

Where can I find the API for Facebook pages?

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.


1 Answers

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?

Facebook Custom Gender

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.

like image 191
AppleGrew Avatar answered Apr 13 '23 00:04

AppleGrew