These are the limits the API enforces for Facebook, read straight from the code. Every post is checked against them before anything is sent.
Posts to Facebook Pages you manage. Personal profiles are not supported.
Text
63,206 characters
Images
Up to 10 per post · JPEG, PNG, GIF · 9.5 MB each
Video
Up to 1 per post · MP4, MOV · 60 MB
Images and video together
Not in the same post
overrides.facebook.link
string · A URL to attach to a text post as a link preview. Not allowed with images or video.
Post with one request
Your first Facebook post.
Send the text and the account ID. Add an Idempotency-Key so a retried request never posts twice. The response lists each account with its own status and, once it’s live, the post’s URL.
import os, uuid, requests
response = requests.post(
"https://socialhelper.app/api/v1/posts",
headers={
"Authorization": f"Bearer {os.environ['SOCIALHELPER_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"text": "We just shipped dark mode. Try it tonight 🌙",
"accounts": ["ACCOUNT_ID"],
},
)
post = response.json()["data"]
print(post["status"], post["targets"])
Tools
Facebook tools.
Call them with POST /api/v1/accounts/{id}/tools/{tool}, or let your agent use list_account_tools and run_account_tool over MCP. Results come back straight away.
list_posts
read-only
List the Page's most recent posts, newest first, with their text, permalink, creation time and reaction, comment and share counts.
limit integer
How many posts to return (1–50).
default: 10
after string
The next_cursor from a previous call, to continue with older posts.
page_insights
read-only
Read Page Insights over time. Allowed metrics: page_media_view, page_total_media_view_unique, page_post_engagements, page_total_actions, page_views_total, page_follows, page_daily_follows_unique, page_daily_unfollows_unique, page_actions_post_reactions_total, page_video_views, page_video_views_organic, page_video_views_paid, page_video_complete_views_30s, page_video_view_time. page_follows, page_actions_post_reactions_total and page_video_view_time only support period "day". Meta needs the Page to have 100 or more followers, keeps two years of data and returns at most 90 days per request.
Open Accounts in the SocialHelper dashboard and choose Facebook. You sign in on Facebook’s own screen and approve access; SocialHelper stores the connection encrypted. You don’t need a Facebook developer app of your own.
1
Open Accounts
In the dashboard, choose Facebook.
2
Sign in on Facebook
Approve access on Facebook’s own screen.
3
Use the account ID
GET /api/v1/accounts lists the account with its ID, whether it can publish, and its tools.