1. Social Networks
swonkie.dev
  • Introduction
  • Quick Start
  • Changelog
  • Social Networks
    • Facebook
    • Instagram
    • LinkedIn
    • TikTok
    • Threads
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Insights
    • Getting Started
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • List Posts
      GET
    • Get a Post
      GET
    • Create a Post
      POST
    • Update a Post
      PUT
    • Validate a Post
      GET
    • Delete a Post
      DELETE
    • Change Post Stage
      PATCH
  • Labels
    • Getting Started
    • List Labels
      GET
    • Create a Label
      POST
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
  • Examples
    • Publish
Back to Home
Back to Home
Login
  1. Social Networks

Facebook

Facebook supports the widest range of post types in the Swonkie API, including carousels with per-card call-to-action buttons.

Supported Post Types#

Post TypeDescription
MEDIAOne or more images or videos
STATUSText-only post, no media
STORYFull-screen image or video story
LINKURL post with optional preview image
REELShort-form vertical video

Network Options#

Facebook-specific settings are passed in the facebook object on the post body.
FieldTypeDescription
carouselsarrayList of carousel cards (minimum 2). Only valid on MEDIA posts.
carouselEndCardbooleanWhen true, appends your page profile logo as a final card

Carousel card fields#

FieldTypeRequiredDescription
linkstring (URI)YesDestination URL, max 2000 characters
titlestringYesCard title, max 200 characters
descriptionstringNoCard description, max 1000 characters
mediaLibIdstringNoMedia ID from POST /v2/media
callToActionstring (enum)NoButton label displayed on the card

callToAction values#

NO_BUTTON, BOOK_TRAVEL, BUY_NOW, DOWNLOAD, GET_QUOTE, INSTALL_APP, INSTALL_MOBILE_APP, LEARN_MORE, LIKE_PAGE, LISTEN_MUSIC, OPEN_LINK, PLAY_GAME, SHOP_NOW, SIGN_UP, SUBSCRIBE, USE_APP, USE_MOBILE_APP, WATCH_MORE, WATCH_VIDEO, MESSAGE_PAGE

Examples#

MEDIA post#

Carousel post#

LINK post#


Notes#

Carousel posts require a minimum of 2 cards in the carousels array.
Captions are not supported on STORY posts.
MEDIA and LINK posts do not share their respective arrays: medias is ignored on LINK posts and links is ignored on MEDIA posts.
The net field on captions, media, and links can be omitted to apply the content to all networks assigned to the post.
Modified at 2026-03-12 18:21:59
Previous
Changelog
Next
Instagram
Built with