All endpoints
Facebook Group Posts

Facebook Group Posts API

Get posts from a public Facebook group by group ID. Returns post content, engagement metrics (reactions, comments, shares), and author data. Supports pagination and sorting.

Price: $0.008 per page
Free tier: 50 requests/month
Endpoint
GET /v1/facebook/group/posts

Parameters

group_id *
Facebook group ID (use Group Details endpoint to get this)
pages
Number of pages to fetch (1-10, default 1). Billed per page.
sort_by
Sort order: most_recent or relevance (default: most_recent)

Response fields

posts
Array of group posts
post_id
Post ID
url
Direct link to the post
message
Post text content
date
Publication date and time
timestamp
Unix timestamp
author_name
Author display name
author_id
Author Facebook ID
author_url
Author profile URL
author_profile_picture
Author profile image URL
comments_count
Number of comments
reactions_count
Total number of reactions
reshare_count
Number of shares
reactions
Breakdown of reaction types
image_url
Attached image URL
video
Attached video data
external_url
External link in the post
count
Number of posts returned
pages
Number of pages fetched

Example Request

curl "https://apidirect.io/v1/facebook/group/posts?group_id=457987654321" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "posts": [
    {
      "post_id": "457987654321_1122334455",
      "url": "https://www.facebook.com/groups/python/posts/1122334455",
      "message": "Just released my new Python package for data validation. Check it out!",
      "date": "2026-03-05 12:45:00",
      "timestamp": 1772793900,
      "author_name": "Alex Chen",
      "author_id": "100098765432",
      "author_url": "https://www.facebook.com/profile.php?id=100098765432",
      "author_profile_picture": "https://scontent.xx.fbcdn.net/v/t39.30808-1/...",
      "comments_count": 45,
      "reactions_count": 230,
      "reshare_count": 18,
      "reactions": {"like": 150, "love": 50, "wow": 20, "haha": 5, "sad": 0, "angry": 5},
      "image_url": null,
      "video": null,
      "external_url": "https://pypi.org/project/example-package"
    }
  ],
  "count": 1,
  "pages": 1
}

Frequently asked questions

Can I get posts from private groups?

No, only posts from public groups are accessible through the API. Private group content requires group membership.

How do I get the group_id?

Use the Group Details endpoint (/v1/facebook/group) which returns the group id field along with other group information.

How does pagination work?

Use the pages parameter to fetch multiple pages of results in a single request (1-10). Each page is billed separately. Default is 1 page.

How does pricing work?

You only pay for successful requests. The Facebook Group Posts API costs $0.008 per page. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.

Do I need a credit card to start?

No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.

Are there rate limits?

Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.

Start using the Facebook Group Posts API

Get your API key and start making requests in minutes. 50 requests/month free every month.

Get API Key