Claude Code + Facebook
Publish to Pages with AI
Use the Upload-Post skill to publish videos, photos, and text posts to your Facebook Pages directly from Claude Code. Manage multiple Pages, schedule content, and track engagement without leaving your terminal.
Install in Seconds
$ npx skills add Upload-Post/upload-post-skill Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.
What You Can Post to Facebook
Just Tell Your Agent
Once you've installed the skill and set your API key, simply ask Claude Code in plain English. No API calls needed.
✓ Photo posted to Facebook Page
Post URL: https://www.facebook.com/yourpage/posts/...
Features for Facebook
Video Upload
Publish MP4 videos directly to your Facebook Pages. Upload-Post handles encoding, resolution validation, and Facebook's async processing pipeline automatically.
Photo Posts
Post single or multiple photos to Facebook Pages with captions. Supports JPEG, PNG, and WebP formats with automatic resizing to meet Facebook's requirements.
Text Posts
Create text-only posts on Facebook Pages for announcements, polls, and engagement. Include links that automatically generate rich Open Graph previews.
Page Publishing
Publish as any Facebook Page you manage. Specify the target Page using target_facebook_page_id to control exactly where content appears across your business accounts.
Multi-Page Support
Manage and publish to multiple Facebook Pages from a single Upload-Post account. Switch between Pages by changing the target_facebook_page_id parameter in each request.
Engagement Analytics
Track post reach, reactions, comments, and shares through the Upload-Post dashboard. Monitor which content performs best across all your Facebook Pages.
How It Works
Install the Skill
Run the install command in your terminal. The skill is added to Claude Code instantly.
Connect Facebook
Link your Facebook account on the Upload-Post dashboard and create a profile with your API key.
Publish from Claude Code
Tell your AI agent to post content to Facebook. It handles formatting, uploading, and publishing automatically.
Also Works With
Frequently Asked Questions
The Upload-Post skill supports publishing to Facebook Pages only. Facebook's API does not allow third-party apps to publish to personal profiles. To post, connect your Facebook account on the Upload-Post dashboard, then use the target_facebook_page_id parameter to specify which Page receives the content.
Connect all your Facebook Pages through the Upload-Post dashboard. Each Page has a unique ID visible in your account settings. When making a post, pass the target_facebook_page_id parameter for the Page you want to publish to. You can also include facebook in the platform[] array alongside other platforms to cross-post simultaneously.
Facebook accepts MP4 and MOV video files up to 10 GB in size with a maximum duration of 240 minutes. Upload-Post handles the async upload process automatically — you submit the video, and the API returns a result once Facebook finishes processing. For best results, use H.264 video with AAC audio at 1080p resolution.
Yes. Include the schedule_date parameter in your API call with an ISO 8601 timestamp (e.g., 2026-04-10T14:00:00Z). The post will be published to your Facebook Page at the specified time. Scheduling is available on Upload-Post paid plans starting at $12/month.
The skill itself is free and open source. Upload-Post offers a free plan that includes 10 uploads per month across all platforms, including Facebook. For higher volume publishing, paid plans start at $12/month with additional features like scheduling, analytics, and priority processing.
Start Posting to Facebook from Claude Code
Join thousands of developers automating their social media workflow with AI. Free plan available.