Skip to main content
GET
Get Post
Fetch one post. Facebook post ids come in several shapes — bare numeric ids, pfbid strings, permalink.php query forms and reel/ URLs. When you have a full URL, pass it as url; it overrides the path id. Credits: 5

Authorization

string
required
Your ScrapeBadger API key.

Path Parameters

string
required
Post id — numeric or pfbid. Ignored when url is supplied, but still required as a path segment (pass any placeholder, e.g. 0).

Query Parameters

string
Full post permalink or reel URL. Overrides post_id. Use this for permalink.php?story_fbid=…&id=… and {page}/posts/{pfbid} forms that a bare id cannot resolve.

Response

Returns a single Post object.
string
Story id.
string
Post id.
string
Canonical post URL.
Permalink URL.
string
Post text.
string
Facebook’s story classification, e.g. a shared-link or life-event story.
number
Post time, Unix seconds.
string
Post time, ISO 8601 UTC.
Actor
id, name, url, profile_picture, is_verified, typename.
Media[]
type (Photo · Video), id, uri, width, height, url, playable_url.
integer
Total reactions.
string
Facebook’s abbreviated display string, e.g. 48K.
object[]
{ name, count }like, love, haha, wow, sad, angry, care.
integer
Number of comments.
integer
Number of shares.

Example

Response
A deleted or region-restricted post returns 404. Comments are a separate, heavier call — /posts/{post_id}/comments.