Group member (FQL)

From Facebook Developer Wiki

Revision as of 02:54, 19 November 2008 by Mike Vernal (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Description

The FQL group_member table. Query this table to return information about the members of a group.

To structure your query, use the table name (group_member 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.

In order to make your query indexable, the WHERE in your query should contain an = or IN clause for one of the columns marked with a * in the Indexable column of the table.

Note that if there are more than 500 members in the group, this API will return a random set of up to 500 users. The actual number of user may be less than 500 for privacy reasons.

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.

Columns

IndexableNameTypeDescription
* uid int The user ID of the member of the group being queried.
* gid int The ID of the group being queried.
positions string Any positions taken by the member of the group being queried.

See Also

reference