Actions31
- Page Actions
- Group Actions
- User Actions
- Media Actions
- Comment Actions
- Message Actions
- Utility Actions
Page → Create Image Post
AI-generatedSummary
Create an image post on a specified Facebook Page using either an image URL or binary image data, optionally including a caption, and choose whether to publish immediately or save as a draft.
Inputs
- Page ID (required) — Facebook Page ID or username where the image post will be created.
- Published — Boolean to determine if the post is published immediately (true) or saved as a draft (false). Defaults to true.
- Image Source (required) — Specify whether the image is provided from a URL or binary data.
- Image URL (required) — URL of the image to be posted (required if Image Source is 'From URL').
- Binary Property (required) — Name of the binary property containing the image data (required if Image Source is 'From Binary Data').
- Caption — Optional text caption for the image post.
Output shape
a list containing the response data object from Facebook representing the created image post
The output includes JSON data as returned by Facebook's API for the created post. Errors are handled per item if 'continueOnFail' is enabled.
Examples
Example 1: Create a published image post from an image URL with a caption
Set Page ID, choose Image Source as 'From URL', provide Image URL, enter the Caption, and leave Published as true.
Example 2: Create a draft image post from binary image data without a caption
Set Page ID, choose Image Source as 'From Binary Data', specify the Binary Property name containing the image, set Published to false.