Facebook API for AI agents
Connect your Facebook account once. Your agent posts, replies, likes and follows, and sends DMs through MCP or REST. No Facebook API key and no app review.
What your agent can do on Facebook
24 actions, including generic browser steps.
| Action | On Facebook |
|---|---|
post | Post |
reply | Comment |
quote | Share with your text |
delete_post | Delete |
repost | Share |
like | Like |
unlike | Unlike |
bookmark | Save |
unbookmark | Unsave |
follow | Follow |
unfollow | Unfollow |
block | Block |
send_message | Messenger |
list_conversations | Chats |
read_conversation | Conversation |
read_feed | Feed |
read_notifications | Notifications |
read_post | Post and replies |
read_profile | Profile |
list_followers | Followers |
list_following | Following |
search | Search |
update_profile | Edit profile |
browser | Anything else, step by step |
Not on Facebook: unrepost unblock mute unmute report read_reels
Automate Facebook with MCP
Ask in plain words. Your agent makes the call and gets the link back.
A post on the profile, or on a Page or group named in `destination`.
MCP tool call
// You: "Share the event on our Facebook Page."
// The agent calls the post tool:
{
"account_id": "acc_facebook",
"text": "Join us on Friday.",
"destination": "Acme Demo"
}REST
curl https://api.vicevox.com/v1/accounts/acc_facebook/actions \
-H "Authorization: Bearer $VICEVOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"post","text":"Join us on Friday.","destination":"Acme Demo","wait":60}'Connect a Facebook account
Username and password
Send the username, the password and, if the account uses an authenticator app, its secret. ViceVox answers 2FA codes itself.
Cookies
Import cookies from a browser where the account is already signed in: a JSON array or a Netscape cookie file.
Sign in yourself
Open a live browser and sign in as you always do. Or send the one-time sign-in link to the person who owns the account.
Each account uses the fixed device fingerprint and the location or proxy of its identity. Accounts in the docs
Facebook questions
- Do I need a Facebook API key?
- No. ViceVox signs in to your Facebook account the way a person does, so there is no developer app, API key or app review.
- Can my AI agent use Facebook through MCP?
- Yes. Add the ViceVox MCP server to Claude, Cursor or any MCP client. Each Facebook action is a tool, such as post, reply or send_message.
- What does it cost to use Facebook?
- Plans start at USD 29 a month, with a 7-day trial. Every plan has every platform and every action, Facebook included. See pricing.
Other platforms
- X API for AI agents
- Instagram API for AI agents
- LinkedIn API for AI agents
- TikTok API for AI agents
- Threads API for AI agents
- Bluesky API for AI agents
- Reddit API for AI agents
- YouTube API for AI agents
- Pinterest API for AI agents
- Mastodon API for AI agents
- Telegram API for AI agents
- Hacker News API for AI agents
- Twitch API for AI agents
- GitHub API for AI agents
- DEV Community API for AI agents
- Hashnode API for AI agents
Connect your Facebook account.
Create a workspace, add an account with a password or cookies, and make your first call.