Facebook

Search Facebook Group Posts

Temporarily unavailable: this endpoint is offline while we upgrade it, and every request currently returns 503 with "code": "endpoint_suspended". The rest of this reference describes the endpoint as it behaves when available. Search for posts within a specific Facebook group by keyword. Supports date filtering.

Price: $0.008 per page. Free tier: 50 requests/month.

get/v1/facebook/group/search

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/facebook/group/search
  • Auth: API key in header X-API-Key

Query parameters

querystring required

Search query (max 500 characters)

group_idstring required

Numeric Facebook group ID (from Group Details endpoint)

pagesinteger

Number of pages to fetch and merge into one response (1-10). Billed per page.

start_datestring

Filter posts from this date (YYYY-MM-DD)

end_datestring

Filter posts until this date (YYYY-MM-DD)

get_sentimentboolean

Set to true to add AI emotion analysis to each post. Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). Any post that cannot be scored returns sentiment: null.

Response

Successful response

countnumber nullable
pagesnumber nullable

Changes

No recorded changes to this operation across all 1 revision of this API.