Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
    • Graph API
    • FQL
    • Open Graph
    • Dialogs
    • Chat
    • Internationalization
    • Ads
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Tables
    • album
    • app_role
    • application
    • apprequest
    • checkin
    • comment
    • comments_info
    • connection
    • cookies
    • column
    • developer
    • domain
    • domain_admin
    • event
    • event_member
    • family
    • friend
    • friendlist
    • friendlist_member
    • friend_request
    • group
    • group_member
    • insights
    • like
    • link
    • link_image_src
    • link_stat
    • location_post
    • mailbox_folder
    • message
    • note
    • notification
    • object_url
    • offsite_conversion_event
    • page
    • page_admin
    • page_blocked_user
    • page_global_brand_child
    • page_fan
    • page_milestone
    • permissions
    • permissions_info
    • photo
    • photo_src
    • photo_tag
    • place
    • privacy
    • privacy_setting
    • profile
    • profile_tab
    • profile_view
    • question
    • question_option
    • question_option_votes
    • review
    • score
    • standard_friend_info
    • standard_user_info
    • status
    • stream
    • stream_filter
    • stream_tag
    • subscription
    • table
    • thread
    • translation
    • unified_message
    • unified_message_count
    • unified_message_sync
    • unified_thread
    • unified_thread_action
    • unified_thread_count
    • unified_thread_sync
    • url_like
    • user
    • video
    • video_tag

group_member

API Reference › FQL › group_member

Description

Contains the list of members for a group in FQL and can be queried by user or by group.

Columns

NameDescription

administrator

bool

Returns true if the user is an administrator of the group.

bookmark_order

number

The order in which the group appears in the user's list of groups. This field requires the user_groups permission, and is only present when you query by uid

gid

numeric string

The ID of the group being queried.

positions

array

Any positions taken by the member of the group being queried. Possible values are OWNER, ADMIN or OFFICER

uid

numeric string

The user ID of the member of the group being queried.

unread

number

A count of items in this group which have not been read by the user. This field requires the user_groups permission, and is only present when you query by uid

Examples

  • SELECT ... FROM group_member WHERE uid = A
  • SELECT ... FROM group_member WHERE gid = A
Note: Additional filters on other columns can be specified but they may make the query less efficient.

Permissions

To read the group_member table you need:

  • any valid access_token if the group is public (i.e. the group's privacy setting is OPEN)
  • user_groups permission for a user's non-public groups or to see the bookmark_order or unread fields for a user's groups
  • friends_groups permission for a user's friend's non-public groups
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy