Platforms
Connect Facebook
Publit.Si posts to your Facebook Page: text and link posts, up to 10 photos, Reels, videos and stories. It uses the same Meta app and login configuration as Instagram – you add the Pages permissions to it. Photos and videos are uploaded straight from your computer; only the sign-in goes through your tunnel.
You need
- A Cloudflare tunnel
- A Meta app with Unified login (
INSTAGRAM_UNIFIED_*), see Connect Instagram - A Facebook Page you manage, ideally in your business portfolio
Prepare your Page
You must be an admin of the Page or have full control over it. Personal profiles and groups cannot be posted to through Meta's API.
Open business.facebook.com → Settings → Accounts → Pages and add your Page to the business portfolio your Meta app belongs to.
Add the Pages permissions
developers.facebook.com → your app → Use cases → Add use case → Manage everything on your Page.
Still under Use cases: next to Manage everything on your Page click Customize → Permissions and features → Add next to each permission in the table below. Meta offers a permission in the login configuration only after you add it here.
Facebook Login for Business → Configurations → open the configuration in
INSTAGRAM_UNIFIED_CONFIG_ID. Under assets add Pages, tick the same permissions and save.Instagram keeps working: Meta's dialog now also offers your Pages when you connect Instagram.
| Permission | Needed? | What it does |
|---|---|---|
pages_manage_posts | Required | Posting to the Page |
pages_read_engagement | Required | Reading the Page's posts, so Publit.Si can check after a crash whether a post already went out |
pages_show_list | Required | Listing your Pages, so Publit.Si finds the one to connect |
read_insights | Optional | Statistics: followers, reactions, plays |
pages_read_user_content | Optional | Reading comments |
pages_manage_engagement | Optional | Answering comments |
Add the redirect URI
Copy the redirect URI from Publit.Si › Settings › Platform setup › Facebook, e.g.
https://publish.example.com/oauth/facebook/callback.Facebook Login for Business → Settings → Valid OAuth Redirect URIs → add it next to the Instagram one and save.
Connect the Page
Publit.Si → Accounts → Connect account → Facebook. Sign in, choose your business portfolio and the Page, allow everything and confirm.
Meta shares several Pages with your login? Publit.Si then asks for the one to connect. Put its ID into
.env(Meta Business Suite › Settings › Pages), restart and connect again:FACEBOOK_PAGE_ID=…
Formats and limits
Statistics show followers, reactions, comments and shares per post, and plays of Reels and videos. Comments can be read and answered under Comments, and every format except Story takes a first comment. Alt text you set on a photo goes to Facebook too.
Your computer must be on when a Facebook post is due, as with Instagram and TikTok.
| Format | What it holds | Notes |
|---|---|---|
| Post | Text, an optional link card, or 1–10 photos | A link card and photos don't go together; put the link into the text then. |
| Reel | 1 portrait video, 3–90 s | Facebook allows 30 reels a day per Page through its API. Shorts from the Studio and the backlog become Reels. |
| Video | 1 video up to 20 min and 1 GB, with a title | Published once Facebook has processed it. |
| Story | 1 photo or 1 video of 3–60 s | No text; a longer video is cut to its first 59 s. Post as story and story recycling (Settings › Publishing) work for Pages too. Facebook gives no numbers for Page stories. |
Check
Settings › Platform setup › Facebook shows every item as set, and a short test post appears on your Page.
Troubleshooting
redirect_uri_mismatch- The redirect URI in the dashboard must match exactly, including
http/httpsand port. - Facebook: "missing permission pages_…"
- The Pages permissions aren't in the use case or the login configuration. Add them under Use cases → Manage everything on your Page → Customize → Permissions and features, tick them in the configuration (step 4c.3–4), then connect again and allow all.
Stuck? Search the troubleshooting list or write to us . Leave out secrets and tokens.