Friend (FQL)
From Facebook Developers Wiki
[edit] Description
The FQL friend table. Query this table to determine whether two users are linked together as friends.
To structure your query, use the table name (friend 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 is indexable only if both user IDs are specified or if you query the logged in user's user ID. In order to make your query indexable, the WHERE in your query should contain an = or IN clause for these columns.
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 | |
| * | uid1 | int | The user ID of the first user in the pair being queried. | |
|---|---|---|---|---|
| * | uid2 | int | The user ID of the second user in the pair being queried. |
