Facebook Scraper
Get Facebook Profile Events
Get the events of a public Facebook page.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | The URL of the public Facebook page |
| limitnumber · optional | number | optional | Maximum number of results to return. Leave empty for everything this request returns. On its own this trims one request's response; add followPages: true to keep fetching until this many are collected. |
| cursorstring · optional | string | optional | The cursor to paginate to get more events |
| followPagesboolean · optional | boolean | optional | Keep following this endpoint's own next-page token until Limit results are collected, instead of returning only what one request held. Needs Limit. Costs one charge per request made, up to 10, so it is priced and approved as a paid call rather than the single-request default. If the results run out first, or 10 requests are not enough, the cursor comes back as usual. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cursor": {
"type": "string"
},
"events": {
"type": "array"
},
"total_count": {
"type": "number"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"has_next_page": {
"type": "boolean"
}
},
"additionalProperties": true
}