The Facebook Publish endpoint lets you post photos and videos to any Facebook page connected to your Dohoo account. Supply the connection ID for the target page, the file you want to share, and an optional message, and Dohoo handles the rest of the publishing process with Facebook’s API.Documentation Index
Fetch the complete documentation index at: https://docs.dohoo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request headers
| Header | Required | Description |
|---|---|---|
X-API-Key | ✅ | Your Dohoo API key |
Content-Type | ✅ | Must be application/json |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
connectionId | string | ✅ | The ID of the Facebook page connection to publish from |
fileId | string | ✅ | The ID of the uploaded file (photo or video) |
message | string | ❌ | The text message to accompany the post |
Example request
Example response
This endpoint publishes to Facebook Pages only. Publishing to personal Facebook profiles is not supported by the Facebook Graph API.