Create Photo Post
Facebook
Facebook
Create Photo Post
Publish one or more photos to a Facebook Page as a single post, from public URLs and/or uploaded image files (combine both), optionally with a caption/message and schedule.
Action
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
page_id | dropdown | Required | The Facebook Page to publish to. |
urls | array of text | Optional | One or more publicly accessible image URLs to publish. Combine with images to post several photos in a single post. |
images | files | Optional | One or more image files to upload (JPEG, PNG, etc.). Combine with urls to post several photos in a single post. |
caption | text | Optional | Optional text for the post. For a single photo it is the photo caption; for multiple photos it is the post message. |
published | yes/no | Optional | Whether to publish immediately (default yes). |
scheduled_publish_time | number | Optional | Optional Unix timestamp (seconds) to schedule the photo. Must be 10 minutes to 6 months in the future. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code from the Graph API response. |
body | object | Graph API response. |
id | text | The created photo id. |
post_id | text | The associated post id. |