Friendlist (FQL)
From Facebook Developers Wiki
Contents |
[edit] Description
The FQL friendlist table. Query this table to return any friend lists owned by the specified user. You can run this query only when the owner is set to the logged-in user. You can store flids, but you cannot expose this information to anyone but the logged in user, as it is private.
To structure your query, use the table name (friendlist in this case) in the FROM clause. The items in the Name column correspond to columns in the table that can be referenced in the SELECT and WHERE clauses.
This query must be indexed by owner. In order to make your query indexable, the WHERE in your query should contain an = or IN clause for owner.
The See Also section lists API functions that work on similar data; their documentation pages contain additional information about the contents of the column and example FQL queries.
[edit] Columns
| Indexable | Name | Type | Description | |
| flid | int | The ID of the friend list. | ||
| name | string | The name of the friend list. | ||
| * | owner | int | The user ID of the user who created the friend list. |
[edit] Examples
| SELECT flid,name FROM friendlist WHERE owner=204686 |
