Get a Public Post by URL or ID

View all Facebook Public Data API endpoints →

Supply post_id or post_url; when both are supplied, post_id takes precedence. Omit the unused ID when looking up a URL so it cannot override the intended input. This is a documented post-detail route with no sampled response, so no exact envelope or detail fields are asserted. Validate any returned comment and share identifiers before chaining discussion or reshare reads; those identifiers need not equal the visible post ID. Access is limited by public availability, and an unavailable result alone does not prove deletion.

API Features

Dual post lookup inputs Supports a known post identifier or a supplied post URL without renaming either input.
Defined ID-over-URL priority A supplied post_id wins when a request includes both lookup fields.
Downstream identifier inspection Confirm actual comment and share references before initiating additional reads.
Unavailable is not deleted A failed or missing public detail record does not establish that its author deleted it.

Live API Demo

GET /api/project/facebook-scraper/get-post-details

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/facebook-scraper/get-post-details?key=<API_KEY>'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Which input is used when both post_id and post_url are supplied?

post_id takes precedence. To look up a URL, clear the unused ID so that the request does not target a different post.

Has the post-detail response structure been validated?

Not yet. Do not directly reuse the Page-post list fields. Inspect a representative detail response first.

Does failing to retrieve a post mean that it was deleted?

Not necessarily. Visibility or temporary unavailability may also affect the read. Preserve an uncertain state.

Related operations

Guides

View Subscription Plans →