New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

Grok Bot + Facebook

Post to Facebook from Grok Bot

Through iHatePosting, Grok Bot can publish to a Facebook Page: plain text, a link with its preview, photos, a video or stories. Paste one setup message to your Grok Bot and give it your API key in its secret prompt, then ask it for the post you want.

Setup takes about a minute. A post can hold up to 63,206 characters.

FacebookGrok Bot15 networks

Posting to Facebook from Grok Bot

Add iHatePosting to Grok Bot once, connect Facebook, and then describe the post. Setup takes about a minute.

Step 1

Add iHatePosting to Grok Bot once

Paste one setup message to your Grok Bot and give it your API key in its secret prompt. Then connect Facebook in iHatePosting if you have not already.

Message to your Bot
Set up iHatePosting so you can draft, schedule and publish my social media posts. - Install its command line on your cloud computer: npm install -g ihateposting - Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent - Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY. - Check it works: run ihateposting integrations:list. - Save posts as drafts unless I say otherwise, and ask me before you publish anything. When it works, show me my connected accounts.
Step 2

Ask for the Facebook post

Describe the post in plain language. Grok Bot writes it, applies the settings and schedules it.

Grok Bot
> Post the launch article link to my Facebook Page tomorrow at 10:00 with one friendly sentence. Grok Bot: Done. Scheduled on Facebook.

What Grok Bot can do on Facebook

On Facebook, Grok Bot 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 Grok Bot gets a post onto Facebook

You say what you want and Grok Bot makes the calls. A typical conversation goes like this.

Find your Facebook channel

Which Facebook accounts do I have in iHatePosting?

What happens

  • Grok Bot 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

  • Grok Bot drafts the text for Facebook
  • It uploads any media you mention

Schedule and publish

Yes, schedule it for tomorrow at 9:00.

What happens

  • Grok Bot schedules the post in iHatePosting
  • iHatePosting publishes it to Facebook at that time

Facebook settings reference

Say the option in your own words and Grok Bot fills in the matching field. This is every Facebook setting it can use.

FieldTypeRequiredDescription
urlstringNoLink 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_typestringNopost or story
text_format_preset_idstringNoThe text format preset to apply to the post
titlestringNoTitle of the video, used only for video (non-story) posts

Common configurations

Each case below is a request Grok Bot 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 Grok Bot?

Grok Bot is xAI's always-on agent, used through a Cursor account. You create named Bots and give each a job; your Bots share one cloud computer with a browser, files and a terminal.

Once a Bot has the iHatePosting command line installed, it writes, queues and sends your posts from that computer.

How iHatePosting works with Grok Bot

Installed as a skill, iHatePosting gives Grok Bot 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.

  • Paste the message into a chat with the agent
Set up Grok Bot
# A message to paste into the chat Set up iHatePosting so you can draft, schedule and publish my social media posts. - Install its command line on your cloud computer: npm install -g ihateposting - Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent - Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY. - Check it works: run ihateposting integrations:list. - Save posts as drafts unless I say otherwise, and ask me before you publish anything. When it works, show me my connected accounts.

Facebook and the other platforms Grok Bot reaches

Ask for Facebook and other channels in a single message; every channel still applies its own settings.

Facebook requests to try in Grok Bot

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 Grok Bot 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 days

Paste one setup message to your Grok Bot and give it your API key in its secret prompt, connect Facebook in iHatePosting, then ask Grok Bot for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.

Hand your Facebook posts to Grok Bot

Start free for 30 days.