Facebook: Group
facebook_groupPublic Facebook groups: details, group ID, posts, videos and photo albums.
Actions:
action=details: Get a public Facebook group's profile: name, description, member count, privacy, rules and activity stats. Use action=posts for its posts. Pricing: 1 credit per call. Inputs: link (required).
action=id: Resolve a Facebook group URL to its numeric group ID. Use action=details for the group's data. Pricing: 1 credit per call. Inputs: link (required).
action=posts: List recent posts from a public Facebook group, with text, media, author, reactions and comment counts. Returns 3-9 posts per call plus an end_cursor for the next page; filter by date with after_time / before_time. Pricing: ceil(posts_returned / 3) credits per call, minimum 1. Inputs: link (required), limit (optional), end_cursor (optional), after_time (optional), before_time (optional), timezone (optional).
action=videos: List videos posted in a public Facebook group, with video_id, title, duration, view count and thumbnail. Returns an end_cursor for the next page. Pricing: 1 credit per call. Inputs: link (required), end_cursor (optional).
action=albums: List the photo albums of a public Facebook group, with album_id, album_title, url, thumbnail_uri, photos_count and videos_count. Returns an end_cursor for the next page. Needs the numeric group ID (group_id) from action=id. To get the photos in an album, pass its album_id to action=album_items. Pricing: 1 credit per call. Inputs: group_id (required), limit (optional).
action=album_items: Get the photos and videos inside a Facebook album (from a page or a group): media_id, media_type, url, thumbnail_uri and timestamp (Unix seconds). Needs an album_id from facebook_page (action=albums) or action=albums. Returns an end_cursor for the next page. Pricing: 1 credit per call. Inputs: album_id (required), end_cursor (optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Facebook group URL. Required for: details, id, posts, videos. | |
| limit | No | Results per call. posts: 3-9 (default 3) · albums: 8-16 (default 8). Optional for: posts, albums. | |
| action | Yes | Which operation to run. See the tool description for what each action returns and which parameters it needs. | |
| album_id | No | Album ID, from facebook_page (action=albums) or action=albums. Required for: album_items. | |
| group_id | No | Facebook group ID, from action=id. Required for: albums. | |
| timezone | No | IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC. Optional for: posts. | |
| after_time | No | ISO 8601 timestamp. Optional for: posts. | |
| end_cursor | No | Pagination cursor. Optional for: posts, videos, album_items. | |
| before_time | No | ISO 8601 timestamp. Optional for: posts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining). | |
| creditsCharged | No | Credits charged for this call, or null if the endpoint did not report it. | |
| creditsRemaining | No | Credits left on the API key after this call, or null if not reported. |