PostCreate

AdvertisingAnalyticsBusiness ManagementMarketingSocial Media

Properties

Name Type Description
message string The text content for the post
link string URL to share in the post
published boolean Whether to publish the post immediately
scheduled_publish_time integer Unix timestamp for when to publish the post. Must be between 10 minutes and 6 months from now.
targeting object Targeting specification for the post audience
View JSON Schema on GitHub

JSON Schema

facebook-business-manager-postcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PostCreate",
  "title": "PostCreate",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The text content for the post"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "URL to share in the post"
    },
    "published": {
      "type": "boolean",
      "description": "Whether to publish the post immediately",
      "default": true
    },
    "scheduled_publish_time": {
      "type": "integer",
      "description": "Unix timestamp for when to publish the post. Must be between 10 minutes and 6 months from now."
    },
    "targeting": {
      "type": "object",
      "description": "Targeting specification for the post audience"
    }
  }
}