Skip to main content
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.

Endpoint

Request headers

Request body

Example request

Example response

This endpoint publishes to Facebook Pages only. Publishing to personal Facebook profiles is not supported by the Facebook Graph API.
Videos uploaded to Facebook perform best when encoded in H.264 with a 16:9 or 9:16 aspect ratio. Upload your file via the Dohoo media library first, then pass the returned fileId here.
Make sure the Facebook Page connected to Dohoo has the “Pages” permission granted during the OAuth flow. Missing permissions will result in a 403 Forbidden error on publish.