How do I export Facebook group posts to CSV or Google Sheets?

Updated on · Sources

Call GET /facebook/groups/posts for the group, page back with end_cursor (or set after_time / before_time for a date range), and write one row per post: details.post_id, details.post_link, values.text, reactions.total_reaction_count, details.comments_count, details.share_count. Save the rows as a CSV file, or append them to Google Sheets with an automation tool such as n8n, Make or Zapier.

Meta's official option

Meta has no export for a group's posts: the Groups API was removed on April 22, 2024, and Facebook's own download tool covers your own information, not a whole group.

How to do it with SocialAPIs

Each call returns 3 to 9 posts (limit) and data.page_info: while has_next is true, pass end_cursor to the next call. A group with 500 posts a month (number_of_posts_in_last_month from /facebook/groups/details) is about 56 calls at limit=9. Price per call: 1 credit; round(limit ÷ 3) credits when limit is set, up to 3.

Google Sheets without code, in n8n: Schedule Trigger → HTTP Request (header x-api-token) → Split Out data.posts → Remove Duplicates on details.post_id → Google Sheets (append a row). Make and Zapier do the same with their HTTP and Google Sheets steps.

In Python, csv.DictWriter with those six fields is enough; the monitoring tutorial shows the request and a real response.

Endpoints

  • GET /facebook/groups/posts1 credit; round(limit ÷ 3) credits when limit is set, up to 3

    Fetch recent posts from a Facebook group, including text, media, reactions, and comments.

    Params: link (required), limit, end_cursor, timezone

    Facebook Group Posts: docs and playgroundMCP: facebook_group → posts

  • GET /facebook/groups/details1 credit

    Get detailed metadata and statistics about a Facebook group including member count, description, and rules.

    Params: link (required)

    Facebook Group Details: docs and playgroundMCP: facebook_group → details

curl -G "https://api.socialapis.io/facebook/groups/posts" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "link=https://www.facebook.com/groups/gieldagryplanszowe" \
  --data-urlencode "limit=9" \
  --data-urlencode "timezone=UTC"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Tutorial: Monitor a Facebook group's new posts automaticallyUse it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • details.comments_count and details.share_count come as strings ("0"): convert them before sorting.
  • Leave authors out of the sheet unless you need them: user_details.name is personal data (GDPR applies in the EU and UK).
  • Export for analysis or archiving, not to republish: the posts belong to their authors.
  • Public groups only.

Sources

Checked on 2026-11-16.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-11-16

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).

Ask an AI about this page

Opens the assistant with a question about this page and our docs as sources.