Publish Facebook Post
Publish a post to Facebook through the local Frevana daemon and Chrome Extension session.
Purpose
This skill uses the Chrome Extension-backed Frevana MCP tool frevana_publish with fixed provider facebook.
Inputs:
text(required) - final post textformat(optional) -textorjson, defaults totexttimeout(optional) - Frevana tool timeout in milliseconds
Publishing is a side effect. Use this skill only when the user explicitly asks to publish.
What This Skill Needs
- final post text
- bundled
scripts/setup.shwrapper, which downloads and runs the latest official Frevana setup script - Frevana local daemon running after setup, default port
12306 - Chrome connected through the Frevana Chrome Extension
- active Facebook login in Chrome
curlbashpython3
This is a Chrome Extension skill. It uses the local daemon and Chrome Extension session.
Execution Order
- Confirm the user explicitly asked to publish and provided final text.
- Prefer the script over ad hoc
frevana callcommands. - Let the script run bundled
scripts/setup.shbefore every Frevana tool call. - If setup reports Chrome disconnected, stop and tell the user to open Chrome, connect the Frevana extension, and retry.
- If publishing fails because Facebook is unavailable or not logged in, tell the user to log in to Facebook in Chrome.
- Return text output by default. If
formatisjson, return structured JSON withtool,provider, andresult. - Save output with
--outputwhen useful.
Commands
bash <skill-path>/scripts/publish_facebook_post.sh \
--text "Just shipped a new feature."
bash <skill-path>/scripts/publish_facebook_post.sh \
--text-file ./post.txt \
--format json \
--output ./out/publish-facebook-post-result.json
Fixed Tool Call Shape
The script calls:
frevana call frevana_publish '<json_args>'
The JSON arguments use this shape:
{
"provider": "facebook",
"text": "Just shipped a new feature.",
"timeout": 30000
}
Always send provider: "facebook". Do not pass unsupported fields.
Notes
--textand--text-fileare mutually exclusive.- Use final plain text.
--formatmust betextorjson; default istext.--timeoutmust be a positive integer when provided.scripts/setup.shdownloads and executes the latest official setup script fromhttps://raw.githubusercontent.com/FinpeakInc/frevana-cli-releases/refs/heads/main/skills/frevana/scripts/setup.sh.