Skip to content

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_iddropdownRequiredThe Facebook Page to publish to.
urlsarray of textOptionalOne or more publicly accessible image URLs to publish. Combine with images to post several photos in a single post.
imagesfilesOptionalOne or more image files to upload (JPEG, PNG, etc.). Combine with urls to post several photos in a single post.
captiontextOptionalOptional text for the post. For a single photo it is the photo caption; for multiple photos it is the post message.
publishedyes/noOptionalWhether to publish immediately (default yes).
scheduled_publish_timenumberOptionalOptional Unix timestamp (seconds) to schedule the photo. Must be 10 minutes to 6 months in the future.

Outputs

Name Type Description
statusCodenumberHTTP status code from the Graph API response.
bodyobjectGraph API response.
idtextThe created photo id.
post_idtextThe associated post id.