Skip to main content
GET
Facebook Group Posts
šŸ’³ 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string

The URL of the group

Example:

"https://www.facebook.com/groups/homemakingtips/"

group_id
string

The ID of the group

Example:

"742354120555345"

sort_by
enum<string>

How to sort the posts

Available options:
TOP_POSTS,
RECENT_ACTIVITY,
CHRONOLOGICAL,
CHRONOLOGICAL_LISTINGS
Example:

"TOP_POSTS"

cursor
string

The cursor to paginate to the next page

Example:

"AQHRBjJCelNvdGRjH8s2j-6..."

Response

Successful response

Key Response Fields:

  • data.posts[0].id: Post ID
  • data.posts[0].text: Post text content
  • data.posts[0].url: Direct URL to the group post
  • data.posts[0].author.name: Name of the user who posted
  • data.posts[0].reactionCount: Total reaction count
  • data.posts[0].commentCount: Total comment count
  • data.posts[0].publishTime: Unix timestamp of publication
  • data.posts[0].topComments: Top comments on the post (with author and text)
  • data.posts[0].image: Post image URL (if applicable)
  • data.cursor: Pagination cursor — pass as cursor to get the next 3 posts