Create Photo Post
create_photo_postPublish a photo to Facebook as the active or specified identity. The image is validated and normalized to Facebook's feed spec before upload; if rejected, clear errors are surfaced.
Instructions
Upload a photo and publish it as the active (or specified) identity.
The image is validated and normalized (resized to Facebook's feed spec) before the upload attempt. Best-effort: modern Facebook may reject cookie-based uploads; failures surface as clear errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Local file path or http(s) URL of the image to post | |
| confirm | No | Must be true to publish | |
| message | No | Optional caption/text with the photo | |
| account_id | No | Optional stored identity id to post as (default: active) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||