SuperAPI AI Directory

meta-upload

Marketing & growth

View repository

Updated 10-23 01:00

About this skill

Facebook Page publishing and deletion

This Skill calls the existing sau facebook-page; it does not reimplement browser logic. Instagram is currently paused and will later use a separate web-based approach; do not use Business Suite to bind Instagram.

By default no proxy is configured, and the browser connects directly via the system network; when the network environment requires a proxy, explicitly pass --proxy or set SAU_FACEBOOK_PAGE_PROXY。

First log in and save an account alias:

sau facebook-page login --account creator
sau facebook-page check --account creator
sau facebook-page upload-note --account creator --page "我的 Page" --images images/1.jpg --title "标题" --note "正文" --result .local/page-result.json
sau facebook-page upload-video --account creator --page "我的 Page" --file videos/demo.mp4 --title "标题" --desc "正文" --schedule "2026-10-21 10:30" --result .local/reel-result.json

Both videos and image-text posts can pass --schedule "YYYY-MM-DD HH:MM", use Beijing time and at least 2 hours in advance, and the browser timezone must be Asia/Shanghai; leave it blank to submit immediately.--page Fill in the exact Page name.--tags is a comma-separated list of tags. Passing --proxy "" ignores environment variables and connects directly.

Results are saved by default to .local/meta-results/; it is recommended to explicitly pass --resultto avoid manually copying the ID.scheduled means the platform confirmed the schedule and the original record was verified;published means the image-text post has been published; for a video submitted immediately, it is returned after the creation response has no errors and the completion dialog appears as processing, meaning the platform has accepted it and is processing it, which does not yet prove it is publicly playable, andcontent_id may temporarily be unavailable.submission_unknown only means there is insufficient evidence of submission; you must first query the original record and not resubmit.

Use the Page ID, Page name, content ID, and body text from the result to query or delete:

sau facebook-page verify --account creator --page "我的 Page" --page-id "Page数字ID" --content-id "内容编号" --expected-text "原作品正文" --scheduled
sau facebook-page delete --account creator --page "我的 Page" --page-id "Page数字ID" --content-id "内容编号" --expected-text "原作品正文" --scheduled --result .local/delete-result.json

--scheduled selects the scheduled list; deletion cancels the schedule and permanently removes it, returning deleted. When managing published posts, do not add it; the current platform will move it to the trash, returning trashed, and it will be automatically deleted after 30 days; Page trash early permanent deletion is not integrated. The ID of a scheduled post may change after it is actually published, so use the ID from the published list.

Only covers the recently loaded list and does not guarantee automatic search of all historical posts. If the same text cannot uniquely locate the post, or the Page or ID does not match, it will not be deleted. If a deletion times out or the browser disconnects, first verify the original record and do not automatically delete again; local assets are retained. The complete parameters are subject to sau facebook-page upload-video --help、upload-note --help、verify --help and delete --help .

Example scripts

scripts/examples/ The files under this are copy-ready examples, not runtime dependencies. Before executing, first check the current CLI's --help, and replace the account, assets, and body text; these commands may create real posts.

  • meta_commands.ps1:PowerShell
  • meta_commands.sh:Bash
  • meta_cli_template.py:Python subprocess