OpenClaw + Facebook
Post to Facebook from OpenClaw
Through iHatePosting, OpenClaw can publish to a Facebook Page: plain text, a link with its preview, photos, a video or stories. Install the iHatePosting skill for OpenClaw and sign in once, then ask it for the post you want.
Setup takes about a minute. A post can hold up to 63,206 characters.
Posting to Facebook from OpenClaw
Add iHatePosting to OpenClaw once, connect Facebook, and then describe the post. Setup takes about a minute.
Add iHatePosting to OpenClaw once
Install the iHatePosting skill for OpenClaw and sign in once. Then connect Facebook in iHatePosting if you have not already.
# Install the iHatePosting skill from ClawHub
openclaw skills install @mayankkasavala/ihateposting
# Or with the skills CLI
npx skills add iHatePostingOrg/iHatePosting-Agent
# Install the command line and sign in once
npm install -g ihateposting
ihateposting auth:login
# Check that it sees your channels
ihateposting integrations:listAsk for the Facebook post
Describe the post in plain language. OpenClaw writes it, applies the settings and schedules it.
> Post the launch article link to my Facebook Page tomorrow at 10:00 with one friendly sentence.
OpenClaw: Done. Scheduled on Facebook.What OpenClaw can do on Facebook
On Facebook, OpenClaw can publish to a Facebook Page: plain text, a link with its preview, photos, a video or stories.
Text and link posts
Post words alone, or include a link and Facebook draws its preview: picture, headline and site name.
Photos
Attach one or more pictures to a post.
Videos
Attach a video, with its own title.
Stories
Publish a story; each picture or video becomes a separate story.
Scheduling
Set the time; iHatePosting publishes at that time.
How OpenClaw gets a post onto Facebook
You say what you want and OpenClaw makes the calls. A typical conversation goes like this.
Find your Facebook channel
Which Facebook accounts do I have in iHatePosting?
What happens
- OpenClaw lists your channels and finds Facebook
- It also reads the channel's rules and settings
Compose your content
Post the three event photos to Facebook on Saturday at noon with a short thank-you.
What happens
- OpenClaw drafts the text for Facebook
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- OpenClaw schedules the post in iHatePosting
- iHatePosting publishes it to Facebook at that time
Facebook settings reference
Say the option in your own words and OpenClaw fills in the matching field. This is every Facebook setting it can use.
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | No | Link to attach as a preview card (image, title, domain), used only for text posts without media. A URL inside the content alone shows as plain text with no card |
| post_type | string | No | post or story |
| text_format_preset_id | string | No | The text format preset to apply to the post |
| title | string | No | Title of the video, used only for video (non-story) posts |
Common configurations
Each case below is a request OpenClaw understands, followed by the Facebook options it sets.
A link with a preview
Add https://example.com/launch as the link preview
- Applies: url:
https://example.com/launch
A story
Post it as a story
- Applies:
post_type: story
A video with a title
Title the video Launch day
- Applies: title: Launch day
What is OpenClaw?
OpenClaw is an open-source agent that keeps running on your machine and takes your messages from chat apps such as WhatsApp or Telegram.
Give it iHatePosting and it can draft, check and schedule posts across 15 networks as part of its work, including on a routine you set.
How iHatePosting works with OpenClaw
Installed as a skill, iHatePosting gives OpenClaw a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- iHatePosting skill (command line): openclaw skills install @mayankkasavala/ihateposting
- iHatePosting MCP server (sign in):
openclaw mcp add ihateposting--urlhttps://app.ihateposting.com/mcp/oauth--transportstreamable-http--authoauth--no-probe - iHatePosting MCP server (API key): Entry in
~/.openclaw/openclaw.jsonwith an Authorization header
# iHatePosting skill (command line)
# Install the iHatePosting skill from ClawHub
openclaw skills install @mayankkasavala/ihateposting
# Or with the skills CLI
npx skills add iHatePostingOrg/iHatePosting-Agent
# Install the command line and sign in once
npm install -g ihateposting
ihateposting auth:login
# Check that it sees your channels
ihateposting integrations:listFacebook and the other platforms OpenClaw reaches
Ask for Facebook and other channels in a single message; every channel still applies its own settings.
Facebook requests to try in OpenClaw
A link post
Post the launch article link to my Facebook Page tomorrow at 10:00 with one friendly sentence.
A photo album
Post the three event photos to Facebook on Saturday at noon with a short thank-you.
A story
Publish promo.png as a Facebook story today at 16:00.
Facebook limits and gotchas to know
A few of Facebook's rules shape how OpenClaw writes your request, so it helps to know them.
- A post can hold up to 63,206 characters.
- A post can be text only, or carry photos or a video; a story needs at least one attachment, and each file becomes its own story.
- The link preview card is only used on text posts without media; a link inside the text alone is plain text.
- A video title applies to video posts, not to stories.
- A post with a video publishes the video alone; other files in the same post are left out.
Frequently asked questions
Start free for 30 daysInstall the iHatePosting skill for OpenClaw and sign in once, connect Facebook in iHatePosting, then ask OpenClaw for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A post can hold up to 63,206 characters.
OpenClaw can set url, post_type, text_format_preset_id, title. The settings reference on this page lists what each one does.
No. The command line signs in with ihateposting auth:login in your browser; IHATEPOSTING_API_KEY is only the alternative. The route that takes a key uses one from Settings → Agents / Dev in iHatePosting.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not OpenClaw is still open. An agent that keeps running can also repeat a job on a routine you give it.