FQL:family
From Facebook Developer Wiki (FbDevWiki.com)
Query this table to return detailed information about a user's family.
Columns
Highlighted rows are indexable / searchable and one is usually required in the WHERE portion of the query.
Name | Type | Description |
---|---|---|
profile_id | int | The ID of the user being queried. |
uid | int | The user ID of the relative, which is returned if the relationship is confirmed and links to another profile. |
name | string | The name of the relative, which is returned if the relationship is not linked to another profile. |
birthday | string | The birthday of the relative, which is returned if the relationship is not linked to another profile. |
relationship | string | A string describing how the relative is related to the user being queried. |
Notes
I haven't tested to see exactly what the possible values for relationship
are, but here is a list of the options given when editing your profile:
- Daughter
- Son
- Mother
- Father
- Sister
- Brother
- Uncle
- Aunt
- Niece
- Nephew
- Cousin (male)
- Cousin (female)
- Grandson
- Granddaughter
- Grandfather
- Grandmother