EN
Developer guide

Facebook Groups API: Read, Search and Monitor Group Posts

Meta retired its Groups API in 2024. Find groups, read their new posts, search them by keyword and publish in them from your users' own Facebook accounts.

Your App · Group watch Watching 3 groups
Keywordslooking forrecommend a CRMfreelance
JM
Julia MoreauSaaS Founders Europe · 4 min ago

Can anyone recommend a CRM that syncs WhatsApp and email for a team of 6?

12 comments8 reactions
TK
Tom KellerShopify Store Owners · 18 min ago

We are looking for a developer to connect our inbox to our order system.

5 comments3 reactions
RS
Rina SatoRemote Product Teams · 1 h ago

Our team retro template is now public, link in the comments.

GETgroups/{id}/posts POSTsearch/posts 200 OK
Short answer

Meta no longer offers a Facebook Groups API to third party apps: it was retired with Graph API v19.0 in January 2024. Today, the working route is a connected account. Each user links their own Facebook account, and your app reads, searches and posts in the groups that account belongs to, private groups included.

For the rest of Meta's platform, see how the Facebook APIs fit together.

With Unipile

Read Facebook group posts in three steps

  1. Connect the accountYour user links their own Facebook account through Hosted Auth. No Meta app, no App Review.

  2. Find and join groupsSend POST /v2/{account_id}/search/groups with your key in X-API-KEY and keywords, then POST /groups/{group_id}/join.

  3. Read and monitor postsCall GET /v2/{account_id}/groups/{group_id}/posts on a schedule and keep only the posts you have not seen yet.

Status in 2026

Is There Still a Facebook Groups API?

No. Meta deprecated the Groups API and the publish_to_groups permission with Graph API v19.0, announced on January 23, 2024. Apps lost the endpoints that read a group's feed, listed its members and published in it.

Tools that depended on it, from automation platforms to social schedulers, removed their Facebook Groups features. Group admins still have keyword alerts inside facebook.com, but only for the groups they administer, and nothing comes out of Facebook as data.

That leaves product teams with two questions this guide answers: how to read and search group posts again, and how to build alerts on new posts in target groups.

FacebookGroups API, before and after 2024
/{group-id}/feedRead a group's posts. Retired
publish_to_groupsPost in a group from an app. Retired
Admin keyword alertsfacebook.com only, for admins. No data out
Connected accountGroups the user belongs to, read and write. Works today

Source: Meta's Graph API v19.0 announcement. Last verified: November 23, 2026.

Use cases

What Teams Build on Facebook Group Data

Groups are where buyers ask for recommendations, customers report issues and communities organize events. These four products read them through their users' accounts.

Lead alerts3 new
"Need a bookkeeper for my startup"Founders Lyon · matched "bookkeeper"Hot
"Who handles payroll for 10 people?"Small Business Owners FR · matched "payroll"New
"Switching accountants this year"Freelancers Club · matched "accountant"New

Lead monitoring

A sales tool watches the groups its user joined and flags posts where someone asks for what they sell.

Reps answer in minutes, from their own profile.

FacebookNorthwind Owners ClubPrivate group · 4,812 members · Admin
LB
Lea Brun12 min ago

The new firmware fixed my sync issue, thanks team!

Replied by Anna
MO
Marc Olsen40 min ago

Is the spring meetup in Berlin confirmed?

Waiting for a reply

Community management

Brands that run a customer group read new posts next to their support tickets and reply as their admin profile.

No question left unanswered in the group.

CRM · Contact
JMJulia MoreauFounder, Lumen Studio

Asked for CRM recommendations in SaaS Founders EuropeToday · 12 comments

Going to "Growth Night Paris" from the same groupNext Thursday

CRM enrichment

When a rep opens a contact, the CRM shows what the person recently asked in groups the rep's account shares with them.

Context before the first message.

AI assistant · Weekly digest

Pricing came up in 14 posts across your 3 groups, mostly about annual plans.SaaS Founders Europe, Remote Product Teams

2 people asked for an integration with Shopify.Shopify Store Owners

AI digests and research

An agent reads the week's posts in the user's groups and turns them into a short summary of topics, questions and requests.

Hours of scrolling turned into five lines.

Decision

Three Ways to Reach Facebook Groups Today

With the official API gone, product teams choose between public data services, which only see public groups, and a connected account, which acts as a real member.

CriteriaMeta Groups APIPublic data APIsConnected account (Unipile)
StatusRetired with v19.0 in 2024Third party servicesLive, documented API
Groups coveredNone todayPublic groups onlyPublic and private groups the account belongs to
Read new postsNoA few posts per callYes, newest first, with a cursor
Search posts by keywordNoDepends on the vendorYes, inside one group or all the account's groups
Post, comment, reactNoNoYes, as the connected user
Members and invitationsNoPublic lists onlyList members, invite friends
Whose accountYour Meta appNone, no loginYour user's own Facebook account
Status
Meta Groups APIRetired with v19.0 in 2024
Public data APIsThird party services
Connected account (Unipile)Live, documented API
Groups covered
Meta Groups APINone today
Public data APIsPublic groups only
Connected account (Unipile)Public and private groups the account belongs to
Read new posts
Meta Groups APINo
Public data APIsA few posts per call
Connected account (Unipile)Yes, newest first, with a cursor
Search posts by keyword
Meta Groups APINo
Public data APIsDepends on the vendor
Connected account (Unipile)Yes, inside one group or all the account's groups
Post, comment, react
Meta Groups APINo
Public data APIsNo
Connected account (Unipile)Yes, as the connected user
Members and invitations
Meta Groups APINo
Public data APIsPublic lists only
Connected account (Unipile)List members, invite friends
Whose account
Meta Groups APIYour Meta app
Public data APIsNone, no login
Connected account (Unipile)Your user's own Facebook account

A connected account does not open groups the user cannot see: private group posts are returned to members only, exactly as on facebook.com.

Step 1

Find Facebook Groups and Join Them

Search groups the way facebook.com does, then join the ones your user wants to follow. Each result tells you whether the account is already a member.

  • Search. POST /search/groups with keywords. Add is_member: true for the account's own groups, or is_public: true for public ones.
  • Check membership. Each group comes back with membership_status: member, pending or not_member.
  • Join. POST /groups/{group_id}/join. When admins approve new members, the answer stays pending until they do.
  • Paginate. Send the same body with the cursor of the previous page. Facebook sets the page size, so a page can hold fewer results than limit.
Facebooksearch/groups · "saas founders"
SFSaaS Founders EuropePublic · 38K membersmember
BBBootstrapped B2B BuildersPrivate · 9.4K memberspending
FGFounders Growth CirclePublic · 21K membersnot_member
POSTsearch/groups200 OK
const BASE = `https://api.unipile.com/v2/${ACCOUNT_ID}`;
const headers = { "X-API-KEY": process.env.UNIPILE_API_KEY, "content-type": "application/json" };

// 1. Find public groups about a topic
const res = await fetch(`${BASE}/search/groups?limit=10`, {
  method: "POST", headers,
  body: JSON.stringify({ keywords: "saas founders", is_public: true })
});
const { data } = await res.json();

// 2. Join the first one the account is not in yet
const group = data.find(g => g.membership_status === "not_member");
await fetch(`${BASE}/groups/${group.id}/join`, { method: "POST", headers });
import os, requests

BASE = f"https://api.unipile.com/v2/{ACCOUNT_ID}"
headers = {"X-API-KEY": os.environ["UNIPILE_API_KEY"]}

# 1. Find public groups about a topic
groups = requests.post(f"{BASE}/search/groups", headers=headers, params={"limit": 10},
                       json={"keywords": "saas founders", "is_public": True}).json()["data"]

# 2. Join the first one the account is not in yet
group = next(g for g in groups if g["membership_status"] == "not_member")
requests.post(f"{BASE}/groups/{group['id']}/join", headers=headers)
# 1. Find public groups about a topic
curl --request POST \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/search/groups?limit=10" \
  --header "X-API-KEY: {YOUR_API_KEY}" \
  --header "content-type: application/json" \
  --data '{ "keywords": "saas founders", "is_public": true }'

# 2. Join one of them
curl --request POST \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/groups/{GROUP_ID}/join" \
  --header "X-API-KEY: {YOUR_API_KEY}"
→ group joined, membership_status: member
Step 2

Read and Monitor the Latest Posts of a Group

GET /groups/{group_id}/posts returns a group's posts, newest first, with the same fields as any Facebook post: id, text, created_at, author and counters. Posts of a private group are returned to its members only.

1Read the newest posts

Call the group's posts list on a schedule you choose, for example every 10 minutes.

2Keep what is new

Store the ID of the newest post you saw and stop reading when you reach it again.

3Alert or store

Match keywords, push an alert to Slack or your app, or save the posts for your users.

No webhook for new group posts

Facebook does not send an event when someone posts in a group, so alerts come from scheduled reads like the loop above. Keep the pace reasonable and only watch the groups your users chose.

// Run every few minutes for each watched group
async function checkGroup(groupId, lastSeenId) {
  const res = await fetch(`${BASE}/groups/${groupId}/posts?limit=10`, { headers });
  const { data } = await res.json();       // newest first

  const fresh = [];
  for (const post of data) {
    if (post.id === lastSeenId) break;        // stop at the last post you saw
    fresh.push(post);
  }
  const hits = fresh.filter(p => /recommend|looking for/i.test(p.text));
  return { hits, lastSeenId: data[0]?.id ?? lastSeenId };
}
# Run every few minutes for each watched group
import re

def check_group(group_id, last_seen_id):
    posts = requests.get(f"{BASE}/groups/{group_id}/posts", headers=headers,
                         params={"limit": 10}).json()["data"]  # newest first
    fresh = []
    for post in posts:
        if post["id"] == last_seen_id:   # stop at the last post you saw
            break
        fresh.append(post)
    hits = [p for p in fresh if re.search(r"recommend|looking for", p["text"], re.I)]
    return hits, (posts[0]["id"] if posts else last_seen_id)
curl --request GET \
  --url "https://api.unipile.com/v2/{ACCOUNT_ID}/groups/{GROUP_ID}/posts?limit=10" \
  --header "X-API-KEY: {YOUR_API_KEY}"

# Response (shortened)
{
  "data": [
    { "object": "Post", "id": "{POST_ID}",
      "text": "Can anyone recommend a CRM for a team of 6?",
      "created_at": "2026-11-23T09:41:00.000Z",
      "comments_counter": 12, "author": { ... } }
  ],
  "next_cursor": "..."
}

Each post ID works with the Posts methods: read its comments with GET /posts/{post_id}/comments before you alert.

Step 4

Reply, React and Post in a Group

A group post is a regular Facebook post. Once you have its ID, the Posts methods work on it, and the account can publish new posts in any group it belongs to.

POST

Publish in the group

POST /groups/{group_id}/posts with text and optional attachments. The account must be a member.

POST

Comment and react

Reply under a group post or react to it with the same calls as any post: see the Facebook comments API.

DELETE

Delete a post

A group post deleted through the API is deleted for good, not moved to the trash like a profile post.

For profile and Page posts, see the Facebook post API guide.

One API for every group

Build group alerts in your product this week

Connect a Facebook account with Hosted Auth, call the Groups and Posts endpoints, and ship your first keyword alerts without a Meta app or App Review.

Build Now
Members

Members, Invitations and What Is Not Supported

You can list a group's members and invite the account's friends. Group administration stays on facebook.com.

Facebookgroups/{id}/participants
ALAnna LeeJoined 2 years agois_admin
DKDavid KimJoined todaymember
PNPriya NairJoined yesterdaymember
GETnewest first, 10 per page200 OK
  • List members. GET /groups/{group_id}/participants, newest first, with is_admin. Facebook returns up to 10 members per page.
  • Invite a friend. POST /groups/{group_id}/participants with a friend's user_id. They join once they accept; a second invitation returns 409.
  • Create a group. POST /groups creates a group the account administers, private by default.
  • Not supported on Facebook. Updating or leaving a group, managing admins, removing members, join requests, invite links and subgroups answer 501.
Group events

GET /groups/{group_id}/events lists a group's upcoming or past events. Creating events, guests and RSVP are covered in our Facebook Events API guide.

Same API

The Same Groups API for LinkedIn, WhatsApp and Telegram

The routes you used for Facebook work for the other networks your users connect. Only what each network allows changes.

NetworkWhat /groups coversGroup posts
Groups: search, join, members, postsYes, read and publish
Groups: search, join, members, postsYes, read and publish
Communities: create, members, subgroups, invite linksMessages are chats, no posts
Groups, channels and shared foldersMessages are chats, no posts
What /groups coversGroups: search, join, members, posts
Group postsYes, read and publish
What /groups coversGroups: search, join, members, posts
Group postsYes, read and publish
What /groups coversCommunities: create, members, subgroups, invite links
Group postsMessages are chats, no posts
What /groups coversGroups, channels and shared folders
Group postsMessages are chats, no posts

WhatsApp communities are covered in our WhatsApp Group API guide.

Good practice

Limits and Good Practice

The connected account sees and does what its owner can on facebook.com. Build around that and your integration stays reliable.

Membership first

Private group posts are returned to members only. A non-member gets an empty list.

Small pages

Facebook sets page sizes: a few posts, 10 members, 10 to 20 search results. Always follow the cursor.

Reasonable pace

Read each watched group every few minutes, not every second, and only the groups your user picked.

Group rules

Publish what a member would: group rules and Meta's terms apply to every post your user sends.

Product behavior from the Unipile Facebook Groups documentation. Last verified: November 23, 2026.

Start reading Facebook groups from your app

Connect your users' Facebook accounts, search and join groups, then turn new posts into alerts, inbox items or CRM context with one REST API. Messages and Pages work the same way with the Unipile Facebook API.

All Facebook API endpoints in one place

Groups are one part of the picture. See every Facebook endpoint available with Unipile, or read the complete Facebook API guide.

Facebook Groups API FAQ

Quick answers on the retired Groups API, group posts, keyword monitoring and private groups.

Yes. Meta deprecated the Groups API and the publish_to_groups permission with Graph API v19.0, announced on January 23, 2024. Third party apps can no longer read a group's feed or publish in it through the Graph API. A connected account, where each user links their own Facebook account, is the route that works today.

With Unipile, call GET /v2/{account_id}/groups/{group_id}/posts from an account that belongs to the group. Posts come back newest first, with their text, author, date and counters, and a cursor for the next page.

Not with Meta's Graph API since 2024. With a connected account, POST /v2/{account_id}/groups/{group_id}/posts publishes a text post, with optional attachments, in a group the account is a member of. Comments and reactions on group posts use the regular Posts methods.

Yes. Read the latest posts of each watched group on a schedule and match your keywords, or use the Facebook posts search with keywords, sort_by: most_recent and the group in posted_by. Facebook sends no event for new group posts, so alerts come from these scheduled reads.

Yes, when the connected account is a member of the group. Private group posts are returned to members only, exactly as on facebook.com: a non-member gets an empty list. If the group needs admin approval, joining returns pending until an admin accepts.

Yes. POST /v2/{account_id}/search/groups searches groups by keywords, like facebook.com does. Filter with is_member for the account's own groups or is_public for public groups. Each result includes the account's membership_status.

No. Unipile is an independent company, not a Meta Partner, and it is not endorsed, sponsored or approved by Meta. Your app reads and posts in groups through your users' own Facebook accounts, in the groups they belong to. Facebook is a trademark of Meta Platforms, Inc.

No. Your users connect their own Facebook account through hosted authentication, and your app calls the Groups and Posts endpoints with your Unipile API key. There is no Meta app, no Groups permission to request and no App Review on your side.

Still have questions? Our team is here to help.

Talk to an expert