JSON POST request example
POST to https://ecll-litescrape-v3--site-api-web.modal.run/api/facebook/post with Content-Type: application/json and your Authorization: Bearer header.
{
"url": "https://www.facebook.com/NASA/posts/1587860636042640/"
}// request reference
Facebook Post Details parameters
Send query parameters with GET /api/facebook/post. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server, not in browser code.
POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.
Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
Request parameters
Retrieve a public Facebook post by its direct permalink, with available text, author identities, publication time, media and engagement counts. Private posts and content requiring sign-in are unavailable.
urlPublic www.facebook.com post permalink containing a page and post identifier.
Type string · GET query or POST JSON
- Maximum characters: 400
- Pattern: ^https://www\.facebook\.com/[A-Za-z0-9][A-Za-z0-9._-]*/posts/(?:[0-9]+|pfbid[A-Za-z0-9]+)/?$
// response
Work with the complete JSON response
Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.
Response groups include source_url, post, submit_feedback_for_this_response_here. Groups and fields depend on the available results.
Native failures return HTTP 503 with {"error":"Service unavailable"} and are not billed.
Illustrative success response. Results and optional fields vary with the available data.
{
"source_url": "https://www.facebook.com/NASA/posts/1587860636042640/",
"post": {
"post_id": "1587860636042640",
"url": "https://www.facebook.com/NASA/posts/pfbid0iXwBST4TuYJaKBw1vfkt4FDEYWUf2gYyjJ5yGqnYtq5sbq9sSKDfsvPictHhNaHsl",
"text": "We've finished fueling up our Nancy Grace Roman Space Telescope, bringing it one step closer to its targeted liftoff on Aug. 30.\n\nLearn more about the process and find out what's next for our mystery-solving mission: https://go.nasa.gov/3RWg5e8",
"creation_time": 1785188122,
"authors": [
{
"id": "100044561550831",
"name": "NASA - National Aeronautics and Space Administration",
"url": "https://www.facebook.com/NASA"
}
],
"media": [
{
"id": "1587860609375976",
"type": "Photo"
}
],
"engagement": {
"reaction_count": 11,
"share_count": 1350,
"comment_count": 686
}
},
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}