Export a post's stored comments to CSV
Export a post's **stored** comments to a CSV and return `{ totalCount, csvUrl }`. When there are no stored comments, `csvUrl` is `null` and `totalCount` is `0`. `mediumId` is **required**.
/posts/{postId}/comments/exportBeta
Authorization
x-api-key x-date x-signature x-api-version Your API key (the ApiKeys document id).
In: header
Current timestamp as an IMF-fixdate string (GMT, US locale) "EEE, dd MMM yyyy HH:mm:ss z", e.g. "Sun, 06 Dec 2020 12:59:11 GMT". 30-second TTL.
In: header
HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.
In: header
API version you're coding against — currently 1. Required; a missing or unsupported value returns 400 with Missing or unsupported x-api-version header. Supported versions: 1.
In: header
Path Parameters
The published post id.
Query Parameters
The channel id (from GET /channels).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Try it
read-onlyKept in this tab only and signed in your browser — your secret never leaves your device.
Path
Query
Enter your key and secret to send.
curl -X GET "https://example.com/posts/AbC123XyZ/comments/export?mediumId=FB_PAGE_123456789012345"{ "totalCount": 0, "csvUrl": "string"}{ "message": "string"}{ "message": "string"}{ "message": "string"}{ "error": [ { "message": "string", "path": [ "string" ], "type": "string", "context": {} } ]}{ "message": "string"}List live comments for a post
Live comments for a published post, normalized across Facebook and Instagram. `mediumId` is **required**. Paged via `paging.after` — echo it back as `after` for the next page, and check `paging.hasMore`.
List scheduled / draft posts
List scheduled and draft posts, soonest-first by `scheduledFor` (undated posts last). Per-channel data appears under `mediumsData`.