pages_manage_posts, pages_read_engagement.facebook_pages table → access_token column.123456789012345).facebook_pages.page_id. The publish workflow posts to
graph.facebook.com/v19.0/{page_id}/videos.facebook_pages tableThe Publish Scheduler looks up the page by the name you type into the Add-Video form's "Target Facebook Page" field. So at least one row must exist:
| Column | Example | Notes |
|---|---|---|
page_name | My Brand Page | Must exactly match what you type in the form |
page_id | 123456789012345 | from item #2 above |
access_token | EAAB… | from item #1 above |
status | Active | workflow skips Inactive pages |
Without this row, the scheduler finds the video "due" but the page lookup returns nothing → publish fails.
flowsmotion-fb. Usually auto-created on first S3 upload; if MinIO policy blocks auto-create, create it in the MinIO console.
5. TimezoneHardcoded to Asia/Karachi (PKT) per spec. Confirm or tell us the real target timezone.
6. YouTube as sourceThis server's IP is 403-blocked by YouTube (Google bot protection). For YT URLs we need a yt-dlp PO Token, or accept TikTok / Instagram / Facebook / direct-MP4 only.
7. Content rightsYou must own or have rights to publish the videos. Meta flags/bans accounts for repeated copyright strikes.
flowsmotion_fb + 4 tables (verified read/write): videos, facebook_pages, schedule_templates, logs/v1/download) — works for TikTok / IG / FB / direct MP4Failed) + logging schemaTo host this requirements page (and any future client-facing front-end) on Cloudflare Pages, the following is needed:
| Item | Required for | Owner |
|---|---|---|
| Cloudflare account ID | Create/manage the Pages project | Client / us |
Cloudflare API token with Account > Cloudflare Pages > Edit permission | Programmatic deploy (wrangler / direct upload) | Client / us |
Pages project (e.g. flowsmotion-requirements) | Deployment target | Created on first deploy |
Custom domain (optional): requirements.flowsmotion.com | Pretty URL | DNS in Cloudflare |
Build setting: framework = none, build output / (static HTML) | Static site | — |
This page is a single self-contained index.html — no build step, no dependencies. Deploy is one command once the token exists.
Once we have the token + page ID, we populate the facebook_pages row, run one live end-to-end test (download a sample → upload to your real Page), and confirm the post appears. For the public requirements page on Cloudflare Pages, we also need the Cloudflare account ID + API token (or we hand you the file for one-click deploy).