Pages in Guides

Placement

Instagram and Facebook can publish to the feed, a story or a reel (Instagram also has carousels). Set it with options.instagram.placement or options.facebook.placement. The allowed values depend on the media, and the default is used when you leave it out (one Instagram video is a reel; a story disappears after 24 hours, so ask for it explicitly). placements in GET /api/platforms has these tables as data; a placement that does not fit the media is a 400 INVALID_PLACEMENT.

Instagram

No medianot supported
One imagefeed, story (default feed)
2+ imagescarousel (default carousel)
One videostory, reel (default reel)

Facebook

No mediafeed (default feed)
One imagefeed, story (default feed)
2+ imagesfeed, story (default feed)
One videofeed, story, reel (default feed)

Facebook reels also need a 9:16 video between 4 and 60 seconds. If Facebook returns an identity-confirmation error, complete the Page authorization in the Facebook mobile app before retrying.

POST /api/posts
{
  "targets": [
    {
      "platforms": [
        "instagram",
        "facebook"
      ]
    }
  ],
  "text": "New drop today",
  "media": [
    {
      "url": "https://cdn.example.com/drop.jpg",
      "type": "image"
    }
  ],
  "options": {
    "instagram": {
      "placement": "story"
    },
    "facebook": {
      "placement": "feed"
    }
  }
}

Instagram also takes collaborators (up to 3 usernames without @, not on stories), userTags (a username with x and y from 0 to 1 on images, none on reels; mediaIndex picks the carousel item) and, for reels, coverUrl or thumbOffset (milliseconds) and shareToFeed. An option that does not fit the placement is a 400 VALIDATION_FAILED. See the Instagram Reels API guide for a reel request and its response.

POST /api/posts
{
  "targets": [
    {
      "platforms": [
        "instagram"
      ]
    }
  ],
  "text": "Behind the scenes of our launch with @studio.north",
  "media": [
    {
      "url": "https://cdn.example.com/launch.mp4",
      "type": "video",
      "durationSeconds": 24
    }
  ],
  "options": {
    "instagram": {
      "placement": "reel",
      "collaborators": [
        "studio.north"
      ],
      "userTags": [
        {
          "username": "jane.doe"
        }
      ],
      "coverUrl": "https://cdn.example.com/launch-cover.jpg",
      "shareToFeed": false
    }
  }
}