TL;DR, Quick Answer
4 min readFacebook is the exception in the AdaptlyPost API: it takes pageId and pageIds, not connectionId. Install the template, paste an adaptly_ token, ask the bot to list accounts, and it reads the page IDs itself. Everything else matches the other eight networks.
One field separates Facebook from every other network in a Grok bot template for Facebook posting, and it is the field that breaks first attempts. Facebook takes pageId. The other eight networks take connectionId. A bot that treats all nine identically succeeds everywhere and fails on Facebook alone, which is a confusing way to find out.
The short version: install the template, paste an adaptly_ token, and ask the bot to list your accounts. It reads the page IDs from GET /social-accounts and puts them in pageIds, not connectionId.
What is a Grok bot template for Facebook posting?
A Grok bot template for Facebook posting is a share link that copies a configured Grok Bot into your app, carrying a skill that documents the AdaptlyPost REST API including the Facebook Page path. xAI enabled template sharing on 28 August 2026. Configuration crosses the link, credentials never do, so the bot publishes to your Pages after you paste your own token.
This is the platform-specific companion to the Grok bot template for social media posting guide.
Why does Facebook use pageId instead of a connection ID?
Facebook publishes to Pages, not to user accounts, so the API addresses the Page directly. Every other network in AdaptlyPost maps one connected account to one connectionId. Facebook maps one connected account to potentially many Pages, and each Page has its own id.
facebookConfigs: [{ connectionId }]- Post fails on Facebook only
- Error looks like a permissions problem
- The other eight networks publish fine
facebookConfigs: [{ pageId }]pageIds: ["..."]at the top level- Page IDs read from
GET /social-accounts - One call, all nine networks
What can the bot publish to a Facebook Page?
The bot publishes Feed posts, Reels and Stories to any Page you have connected, using facebookConfigs[].postType. Video posts also accept videoTitle, which Facebook shows in the video player and which no other network in the API uses.
You: Post this launch video to the main Page tomorrow at 2pm,
title it "Autumn release walkthrough".
Bot: GET /social-accounts -> reads pageId for "Main Page"
POST /upload-urls -> presigned URL for the video
PUT the file
POST /social-posts
platforms: [FACEBOOK]
contentType: VIDEO
pageIds: ["1015..."]
facebookConfigs: [{ pageId: "1015...", postType: "FEED",
videoTitle: "Autumn release walkthrough" }]
mediaUrls: ["https://..."]
scheduledAt: "2026-08-31T14:00:00"
timezone: "Europe/Kyiv"How do I install the template?
Installing the AdaptlyPost Grok bot template takes about three minutes: open the share link in Grok Bot, create an adaptly_ API token, paste it into the credential field, and ask the bot to list your connected accounts.
adaptly_.Can the bot post to more than one Facebook Page at once?
Yes. pageIds is an array, so one call publishes to every Page you name, and facebookConfigs carries one entry per Page. That means a franchise with twelve location Pages posts the same announcement in a single request, with a different caption per Page if you want one.
Per-Page captions come from platformTexts, the same field that lets Facebook and Instagram carry different copy in one call.
How do I schedule a month of Facebook posts?
Send them through POST /social-posts/bulk, which accepts 100 posts in one request. Ask the bot for "a post every weekday in September for the main Page" and it builds the array, applies your timezone to each scheduledAt, and submits once.
What breaks on Facebook specifically?
The pageId mix-up is the big one, and it is worth repeating because it fails quietly on a multi-network post. Beyond that, Reels reject still images the same way Instagram does, and a Page that has never granted publishing permission connects successfully but never appears in GET /social-accounts as a target.
Check GET /social-posts/{id}/results after publishing. It reports per platform, so a post that went out on Instagram and failed on Facebook says exactly that, and POST /social-posts/{id}/retry retries only the Page that failed.
Frequently asked questions
Does the Grok bot template need a Facebook Page, or will a profile work?
It needs a Page. Facebook's publishing API does not accept personal profiles, so a profile connects but never becomes a publishable target. Creating a Page takes about a minute and the connection then appears with a pageId.
Can the bot post to a Facebook Group?
No. AdaptlyPost publishes to Pages, and Groups are not in the spec's Facebook surface. A bot asked to post to a Group reports that rather than silently posting somewhere else.
Why did my post publish everywhere except Facebook?
The call almost certainly sent connectionId for Facebook instead of pageId. Ask the bot to re-read GET /social-accounts and confirm the page ID before it retries, then use POST /social-posts/{id}/retry so the networks that already succeeded do not post twice.
AdaptlyPost
Start 7-Day FREE Trial
All-platform analytics
Social Inbox
AI-powered assistant
Does the retry endpoint double-post?
No. POST /social-posts/{id}/retry retries only the platforms that failed, so calling it after a partial success leaves the successful Pages untouched.
Where do I find other Grok bot templates?
There are platform guides for Instagram, LinkedIn, X and TikTok on this blog. groktemplates.dev lists Grok bot templates from across the ecosystem by use case.
Install the AdaptlyPost Grok bot template and publish to your Pages from a chat, or read the API docs first.
Sources: the AdaptlyPost OpenAPI spec, x.ai/bot, and @bot on X (28 August 2026). Checked 30 August 2026.
Put this into practice with AdaptlyPost
Was This Article Helpful?
Let us know what you think!
See us more often in Google
One click marks AdaptlyPost as a preferred source, so our articles sit higher in your Top Stories, AI Mode, and AI Overviews.
Before you go...
AdaptlyPost
Schedule your content across all platforms
Manage all your social media accounts in one place with AdaptlyPost.
All-platform analytics
Social Inbox
AI-powered assistant
Related Articles


Post Reels and Carousels With a Grok Bot Template for Instagram Posting
A Grok bot template for Instagram posting schedules Feed posts, Reels and Stories from one chat message. What postType does, why Reels need a video URL, and the three fields people forget.


Ship Weekly Updates With a Grok Bot Template for LinkedIn Posting
A Grok bot template for LinkedIn posting needs no platform config at all, which makes it the fastest of the nine networks to automate. What that means in practice, and how to run a weekly routine.


How to Install a Grok Bot Template for Social Media Posting
A Grok bot template for social media posting installs from one x.ai link and schedules to nine networks. What the template contains, how to install it, and what it will not do.

