Group (FQL)

From Facebook Developers Wiki

Jump to: navigation, search


[edit] Description

The FQL group table. Query this table to return information about a group.

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

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

IndexableNameTypeDescription
* gid int The group ID of the group being queried.
name string The name of the group being queried.
nid int The network ID for the network to which the group being queried belongs, if any.
pic_small string The URL to the smallest-sized photo for the group being queried. The image can have a maximum width of 50px and a maximum height of 150px. This URL may be blank.
pic_big string The largest-sized photo for the group being queried. The image can have a maximum width of 200px and a maximum height of 600px. This URL may be blank.
pic string The medium-sized photo for the group being queried. The image can have a maximum width of 100px and a maximum height of 300px. This URL may be blank.
description string The description of the group being queried.
group_type string The category of the group being queried.
group_subtype string The group type for the group being queried.
recent_news string The contents of the Recent News field of the group being queried.
creator int The user ID of the user who created the group being queried.
update_time string The last time the group being queried was updated.
office string The location of the office of the group being queried.
website string The URL for the Web site of the group being queried.
venue string The venue of the group being queried.


[edit] See Also