Introducing the Instagram APIRead more →

Facebook Group Posts API. Public group posts, page by page.

Public group posts with exact counts. We handle the proxies, blocks and platform changes.

Facebook Group Posts API at a glance

Returns a public Facebook group's posts, a page at a time: newest first, most relevant, most recently active, or only its items for sale. Each post has its text with hashtags and mentions, photos, album, video or reel, link card or shared post, publish time, exact reaction, comment and share counts with the reactions by type, a video's views, and the member who posted it. Send the group's link, share link or ID.

GET /v1/facebook/group_posts

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 22 typed fields null when unknown
  • 3 public group posts per page, Facebook's New posts: newest first by when a post entered the group's feed
  • url is all it needs, e.g. https://www.facebook.com/groups/366190054572553/

Send one request. Get up to 3 public group posts back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.facebook.com/groups/366190054572553/
GET /v1/facebook/group_postsTry in
const params = new URLSearchParams({
  sort: "newest",
  url: "https://www.facebook.com/groups/366190054572553/",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/group_posts?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/group_postsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The public group: its link (facebook.com/groups/<ID or name>, any tab of it, on any facebook.com host; the legacy group.php?gid=<ID>), its share link (facebook.com/share/g/<code>) or its bare numeric ID.

  • Write one parser

    Facebook, TikTok, Instagram and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the Facebook Group Posts API.

  • Monitor a group for new posts

  • Follow a community's most active threads

  • Collect a buy-and-sell group's latest listings

Good to know before you build.

  • Each page holds the few posts Facebook's logged-out feed serves at a time; follow next_cursor for more.
  • A private group returns private_or_unavailable, since only its members see its posts: the Facebook Group API still returns what it says about itself.
  • A link Facebook shows nothing for (an unknown name, a hidden or removed group) returns private_or_unavailable too, without saying which.
  • newest follows Facebook's New posts: in a group that approves posts before publishing them, an approved post can sit a little out of date order.
  • listings keeps a listing that was taken down in its place in the feed, with listing null and is_attachment_unavailable true: only its photos are left, if any.
  • A group's anonymous post names no account: its author is only the label "Anonymous participant", with every other field null.
  • Comments are counted, not listed: the Facebook Comments API lists a post's comments.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Group Posts API.

More in the API reference.

How much does the Facebook Group Posts API cost?
A page of up to 3 public group posts costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 1 hour.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs