# Facebook Group Posts API (https://www.socialcrawl.dev/platforms/facebook/group-posts) > Returns recent posts from a Facebook group. Each post includes text, reaction count, comment count, shares, and author info. Pagination is not currently supported on this endpoint — the upstream returns a single page only. TL;DR: `GET /v1/facebook/group/posts` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `url` | no | Full URL of the Facebook group | | `group_id` | no | The ID of the group | | `sort_by` | no | How to sort the posts (TOP_POSTS \| RECENT_ACTIVITY \| CHRONOLOGICAL \| CHRONOLOGICAL_LISTINGS) | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/facebook/group/posts" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I scrape posts from a Facebook group? Send a GET request to /v1/facebook/group/posts with either the group url or group_id. SocialCrawl returns an array of recent posts with text, reactions, comment count, share count, and author info. ### Can I sort group posts by popularity or recency? Yes. Pass sort_by with one of TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, or CHRONOLOGICAL_LISTINGS. Defaults to the group's native sort order. Perfect for surfacing high-engagement content for community research. ### Does this work for private Facebook groups? No. SocialCrawl only returns data from public Facebook groups — the same content visible to any logged-out user. Private group content is not accessible via this endpoint and would violate Facebook's terms. ### How do I paginate through older group posts? Take the cursor from the response and pass it as the cursor parameter on the next request. Keep walking until cursor is empty. Combine with sort_by=CHRONOLOGICAL to walk the full public history in order. ### What's the difference between url and group_id? Both identify the same group. If you already have Facebook group IDs stored, use group_id — it skips the URL resolution step. Otherwise, pass the full Facebook group URL in the url parameter. See the full Facebook API: https://www.socialcrawl.dev/platforms/facebook ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How to scrape Facebook group posts with the SocialCrawl API - Can you get posts from a public Facebook group via API?