Facebook

Pages, Groups, multi-format publishing.

Edit this page·Last updated: July 13, 2026

Facebook

pepe.business is a Meta Business Partner. Publishing to Facebook Pages (not personal profiles — Meta policy).

Connection

POST /v1/connect/facebook
{ "scopes": ["pages_manage_posts", "pages_read_engagement", "pages_show_list"] }

Page selection

GET /v1/connect/facebook/pages
POST /v1/connect/facebook/select-page
{ "pageId": "fb_page_xxx" }

Publishing

Text + image post

POST /v1/posts
{
  "text": "New collection available!",
  "platforms": ["facebook"],
  "mediaUrls": ["https://shop.com/collection.jpg"]
}

Video

POST /v1/posts
{
  "text": "Behind the scenes",
  "platforms": ["facebook"],
  "mediaUrls": ["https://shop.com/bts.mp4"],
  "mediaType": "video"
}

Limits: 1 GB, MP4/MOV.

POST /v1/posts
{
  "text": "Our 5 best-sellers",
  "platforms": ["facebook"],
  "mediaUrls": [
    "https://shop.com/1.jpg",
    "https://shop.com/2.jpg",
    "https://shop.com/3.jpg"
  ],
  "facebookOptions": {
    "carouselLinks": [
      "https://shop.com/p1",
      "https://shop.com/p2",
      "https://shop.com/p3"
    ]
  }
}

Persistent menu

PUT /v1/facebook/persistent-menu
{
  "menu": [
    { "type": "postback", "title": "Our products", "payload": "PRODUCTS" },
    { "type": "web_url", "title": "Website", "url": "https://shop.com" }
  ]
}

Insights

GET /v1/analytics/post/{postId}?platform=facebook

Returns: impressions, reach, likes, comments, shares, reactions (segmented by type).

Page insights

GET /v1/facebook/page-insights?range=30d

Returns: pageImpressions, pageEngagement, pageFans, pageFollows.

Limits

  • 50 posts / 24h per page
  • 25 scheduled posts per page
  • 1 image per post (carousel separate)

Was this page helpful?