Facebook Groups API alternatives after its removal in 2024

Checked on 2026-11-19.

Meta deprecated the Facebook Groups API in Graph API v19.0 on 23 January 2024 and removed it from every version on 22 April 2024. Nothing replaced it: there is no official API today with which an ordinary app can read or write a group's posts. What is left is a library for researchers and, for public groups only, an unofficial HTTP API. Nothing reads a private group.

What was removed, and when

Meta's announcement of v19.0, dated January 23, 2024, says: "The Facebook Groups API is deprecated in v19 and in 90 days will be removed from all versions." The v19.0 changelog lists what went with it:

  • the permissions publish_to_groups and groups_access_member_info,
  • the reviewable feature named Groups API,
  • "the ability for group admins to install apps on the group, even if they have an admin or developer role on the app".

The entry is marked "Applies to v19.0. Will apply to all versions April 22, 2024." and ends: "These permissions, features, and abilities will be removed April 22, 2024."

The documentation went as well. When this guide was checked, the old address of the Groups API documentation led to the front page of Meta's developer documentation, and the Group and Group feed pages of the Graph API reference led to the reference index, which lists no Group node. So there is nothing left to apply for. Being an admin of the group does not bring the API back, and neither does owning the app.

The official source today: Meta Content Library, for researchers

Public group posts are still available from Meta in one place, the Meta Content Library and its API. The library includes "Posts that appear on public groups, posted by anyone". The API finds public groups by keyword and then searches the posts made to them. This is the group search from Meta's guide:

Python
from metacontentlibraryapi import MetaContentLibraryAPIClient as client

client.set_default_version(client.LATEST_VERSION)
response = client.get(
    path="facebook/groups/preview",
    params={"q": "cybercrime"},
)
display(response.json())  # Display first page

The posts of the groups you found come from the path facebook/posts/preview, with the groups' ids in surface_ids.

Where it stops: it is for research, and it does not run on your server. To be eligible, "applicants must be affiliated with a qualified academic institution or a qualified non-academic research institution", both of them not-for-profit. An independent body reviews the application, which "can take 2 to 3 weeks", and Meta's own processing "typically takes 2 to 3 weeks" after that. The API is used from a notebook in Meta's Secure Research Environment or an approved third-party cleanroom, and the ids it returns are the library's own, which "will not match the IDs of the content on Meta platforms". Meta charges no fee for access or computation in its own environment. For a study it is the right route. For a product it is not available.

An HTTP API for public groups

Pipefetch returns the posts of a public group for one HTTPS request with one key: what the group shows a visitor who is not logged in and not a member. It is an independent service, not an official API, and it is not affiliated with or endorsed by Meta.

Python
import os
import requests

res = requests.get(
    "https://pipefetch.com/v1/facebook/group",
    params={"group": "https://www.facebook.com/groups/387875758242831", "sort": "new"},
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print(res.json()["error"]["code"])  # no_posts or group_not_found: not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    print(data["group"]["name"])
    for post in data["posts"]:
        print(post["publishedAt"], post["reactionCount"], post["commentCount"], post["url"])
        print(post["text"])

The limits, plainly:

  • Public groups only. A private group answers 404 no_posts, as a public group without posts does. A group that does not exist answers 404 group_not_found. Neither is charged.
  • At most 6 posts per request, in one of the orders of the group's own sort menu: new (the default), activity or top. There is no paging beyond them, so it is for following a group, not for its archive.
  • 2 credits per request, because Facebook answers it only from residential internet connections, which cost more than an ordinary request. A new account has 100 free credits and needs no card.
  • The group is named by its address: https://www.facebook.com/groups/ followed by the group's number or name. A bare name, a link to one post and a share link are refused before anything is charged.
  • It only reads. It cannot post to a group, and nothing else replaces the removed publish_to_groups permission either.

Each post has its text, publish time, mediaType, author, reactions in total and by type, comment and share counts, image addresses, the links in the text, the preview of a shared link and topComments: the one or two comments Facebook shows under it in the feed. Video file addresses, the prices of buy and sell posts and the list of members are not included. The reference lists every field.

Private groups

None of these routes reads a private group. A private group shows its posts to its members only, the Content Library holds public content, and the Groups API that an admin could once connect is gone.

Tools that ask for your Facebook password or cookies read the group as you. Meta's terms of service say you "may not access or collect data from our Products using automated means (without our prior permission)", and add: "regardless of whether such automated access or collection is undertaken while logged-in to a Facebook account". This guide has no advice for getting around that.

Which one should you use?

You wantUse
To post to a group, or manage it, from an appNothing: the permissions for it were removed in April 2024
Public group posts for academic or public-interest researchMeta Content Library
The latest posts of a public group in your own codeAn unofficial HTTP API such as Pipefetch
The posts of a private groupNo route

Group posts are written by people

A Page speaks for an organisation. A group is its members talking, and posts and comments carry the public names and pictures of the people who wrote them. That is personal data under laws such as the GDPR, whichever route fetched it. Read a group for what is being discussed, keep only what that purpose needs, and do not build lists or profiles of its members: the Pipefetch terms forbid using the data to harass people or to build profiles of private individuals.

The same sentence of Meta's terms applies to reading a public group by automated means. The Content Library comes with Meta's permission. An unofficial route does not, and you are responsible for how you use what it returns.

Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.

Every source

YouTube

Instagram

Websites

TikTok

Google

Threads

LinkedIn

App stores

Steam

X

Pinterest

Airbnb

Real estate

Keywords

Job boards

Eventbrite

Shopify stores

Public tenders

All guides