Can I get data from a private Facebook group via API?

Updated on · Sources

No. In a private Facebook group only current members can see the posts and the member list, and Meta's Groups API, the only official way for an app to read a group, was removed on April 22, 2024. SocialAPIs reads public groups only (GET /facebook/groups/posts, GET /facebook/groups/details) and never uses a login, so a private group's content isn't available through it.

Meta's official option

Facebook's Help Center says posts in a public group can be seen by anyone, on or off Facebook, while in a private group only current members see posts and who's in the group. The Groups API only ever worked in groups whose admins installed your app, and Meta removed it (with the admins' ability to install apps) in Graph API v19.0. If you run the group, Facebook's own admin tools inside it are the official option.

Facebook Help Center: public and private groups ↗

How to do it with SocialAPIs

Check first whether the group is public: Facebook shows "Public group" or "Private group" under its name. For a public group, /facebook/groups/details returns privacy_info_text.label (Public), the member count and the rules (1 credit), and /facebook/groups/posts returns its latest posts (1 credit; round(limit ÷ 3) credits when limit is set, up to 3).

If a private group matters to your project, ask its admins: they decide what leaves the group, and can make it public if the members agree.

Endpoints

  • 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

  • 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

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

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

Use it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • No logins, no cookies, no member accounts: we read only what a logged-out visitor can see.
  • We don't offer collection through a member's account, and won't: a private group is private by its members' choice.
  • Public groups hold personal data too: keep members' names only if your use case needs them (GDPR applies in the EU and UK).

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.