Update Settings
Configure settings for your Facebook Private Group Posts Scraper squid
https://api.lobstr.io/v1/squids/{squid_hash}Update the configuration of your Facebook Private Group Posts Scraper squid. Pass crawler-specific settings inside the params object.
Headers
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredMust be application/json. Value: application/json
Body
paramsobjectCrawler-specific settings. See fields below.
Settings Fields
params.fetch_sincestringOnly collect posts published after this point. Use a relative duration (e.g. "24h", "7d", "2w") or an absolute date (YYYY-MM-DD).
params.fetch_since_timezonestringTimezone for interpreting an absolute fetch_since date (e.g. "Europe/Paris"). Only applies when fetch_since is an absolute date — ignored for relative values like "24h" or "7d".
Set fetch_since to null to collect all posts, or use a relative duration ("24h", "7d", "2w") or absolute date (YYYY-MM-DD) to collect only recent posts. When using an absolute date, set fetch_since_timezone to interpret it in the correct timezone (e.g. "Europe/Paris").
Code Examples
curl -X POST "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH" \ -H "Authorization: Token YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Facebook Private Group Posts", "params": { "fetch_since": "7d", "fetch_since_timezone": null } }'
Response
{ "id": "YOUR_SQUID_HASH", "name": "Facebook Private Group Posts", "crawler": { "id": "3eea12bc7d80cf05b6fc38eaf9f28f77", "name": "Facebook Private Group Posts Scraper", "slug": "facebook-private-group-posts" }, "params": { "fetch_since": "7d", "fetch_since_timezone": null }, "concurrency": 1, "export_unique_results": true, "to_complete": true, "no_line_breaks": false, "status": "idle", "created_at": "2025-01-20T10:15:00.000000", "updated_at": "2025-01-27T14:35:00.000000" }