Facebook Scraper
Get Facebook Facebook Group Posts
Fetches posts from a public Facebook group, limited to 3 posts per page due to API limitations. Each post includes id, text, url, reactionCount, commentCount, publishTime, videoDetails, and topComments. Results are chronological by default. Supports TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, and CHRONOLOGICAL_LISTINGS with cursor-based pagination.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · optional | string | optional | The URL of the group |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| cursorstring · optional | string | optional | The cursor to paginate to the next page |
| sort_bystring · optional | string | optional | How to sort the posts. Defaults to CHRONOLOGICAL. One of: |
| group_idstring · optional | string | optional | The ID of the group |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"posts": {
"type": "array"
},
"cursor": {
"type": "string"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
}
},
"additionalProperties": true
}