Facebook-Beitragsdetails (Echtzeit)

5 Endpunkte • Basis: https://openapi.scdata.cc

Erfasst einen Facebook-Beitrag direkt von der Plattform und liefert Inhalt und Engagement-Zähler zum Zeitpunkt des Aufrufs.

GET/api/v1/facebook/realtime/post/detail

Kontingentverbrauch: Jede erfolgreiche Anfrage an diesen Endpunkt zieht 100 Kontingenteinheiten von Ihrem Plan ab.

Request-Parameter

Pflichtparameter

NameOrtTypBeschreibung
post_urlquerystringpost url
example: https://www.facebook.com/nike/posts/pfbid0Z2KUg35AkAJeQJ6NRMyZViPnZD1b6wDMNP8L1UUNUFuYryVnw5DJUZGskYSWue4kl

Antwortfelder

NameTypBeschreibung
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.post_idstringPost ID
data.post_urlstringPost URL
data.descriptionstringPost text
data.cover_urlstringCover image URL
data.publish_atstringPublish time
data.like_countintegerLike count
data.comment_countintegerComment count
data.share_countintegerShare count
data.view_countintegerPlay count
data.media_typestringMedia type
data.resourcesarray<string>Resource URLs
data.author_idstringAuthor ID
data.author_namestringAuthor name
data.author_urlstringAuthor URL
data.caption_textstringCaption text
data.duration_secondsnumberDuration (seconds)
data.video_sd_urlstringSD video URL
data.video_hd_urlstringHD video URL
data.caption_urlsarray<string>Subtitle URLs

Ausprobieren

https://openapi.scdata.cc/api/v1/facebook/realtime/post/detail
API-Schlüssel aus dem Dashboard auswählen
Fügen Sie einen API-Schlüssel hinzu, bevor Sie eine Anfrage senden.Zum Dashboard

Query-Parameter

post_url*

cURL-Beispiel

bash
curl -X GET "https://openapi.scdata.cc/api/v1/facebook/realtime/post/detail?post_url=https%3A%2F%2Fwww.facebook.com%2Fnike%2Fposts%2Fpfbid0Z2KUg35AkAJeQJ6NRMyZViPnZD1b6wDMNP8L1UUNUFuYryVnw5DJUZGskYSWue4kl" \
-H "Authorization: YOUR_API_KEY"

Antwortbeispiel (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"post_id": "string",
"post_url": "string",
"description": "string",
"cover_url": "string",
"publish_at": "string",
"like_count": 0,
"comment_count": 0,
"share_count": 0,
"view_count": 0,
"media_type": "string",
"resources": [
"string"
],
"author_id": "string",
"author_name": "string",
"author_url": "string",
"caption_text": "string",
"duration_seconds": 0,
"video_sd_url": "string",
"video_hd_url": "string",
"caption_urls": [
"string"
]
}
}

Anwendungsfälle

  • Reporting gesponserter Beiträge — Erfassen Sie die finalen Engagement-Zahlen eines bezahlten Beitrags.
  • Viral-Post-Monitoring — Fragen Sie einen schnell wachsenden Beitrag in Intervallen erneut ab, um seine Verbreitung zu messen.

Verwandte Endpunkte