NetworksFacebook
Facebook APIthrough Siar.
Posts, reels and stories on Facebook Pages, including link posts and Page recommendations.
At a glance
Account needed: A Facebook Page you manage. Personal profiles cannot be published to through the API.
| Connection | OAuth 2.0 in the browser |
|---|---|
| Channel | Required: pick a channel after connecting |
| Post types | post, reel, story |
| Text length | 63,206 characters |
| Comment length | 8,000 characters |
| Media per post | Up to 10 |
Media rules
| Kind | Formats | Max size | Duration | Other |
|---|---|---|---|---|
| Image | jpeg, png, gif, bmp, tiff, webp | 10 MB | n/a | None |
| Video | mp4, mov | 1 GB | Up to 20 min | None |
What Siar can do on Facebook
| Comments and replies | Yes |
|---|---|
| First comment | Yes |
| Edit a published post | Yes |
| Delete a published post | Yes |
| Edit a comment | Yes |
| Delete a comment | Yes |
| Import comments | Yes |
| Post analytics | Yes |
| Account analytics | Yes |
| Post history import | Yes |
| Direct messages | Yes |
Siar can create comments and replies up to 8,000 characters, and import the comments people leave on your posts.
Publish a post
Put Facebook's payload under data.FACEBOOK and list FACEBOOK in socialAccountTypes. Add other networks to the same request to post to all of them at once.
curl -X POST "https://api.siaran.my/api/v1/post" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"title": "Facebook post",
"postDate": "2026-11-02T09:00:00.000Z",
"status": "SCHEDULED",
"socialAccountTypes": [
"FACEBOOK"
],
"data": {
"FACEBOOK": {
"type": "POST",
"text": "Hello from Siar",
"uploadIds": [
"UPLOAD_ID"
]
}
}
}' Facebook fields
-
typestring default "POST"One of:POSTREELSTORY -
textstring nullable -
uploadIdsstring[] nullable -
mediaItemsobject[] nullable2 fields
-
uploadIdstring required -
altTextstring nullable
-
-
linkstring nullable -
thumbnailstring nullable -
mediaTitlestring nullable -
nativeScheduleTimestring nullable date-time -
textFormatPresetIdstring nullable
Daily caps
| Per connected account, per UTC day | Free | Pro | Business |
|---|---|---|---|
| Posts | 10 | 50 | 100 |
| Comments | 3 | 50 | 100 |
See pricing for monthly quotas. Enterprise uses the Business caps unless agreed otherwise.
Connecting a Facebook account
Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire. Use POST /social-account/connect from your own UI, or send your customer a hosted link from POST /social-account/create-portal-link; see connecting accounts.
Permissions requested
Siar requests only these scopes at connect time:
public_profilepages_show_listpages_read_engagementpages_read_user_contentpages_manage_postspages_manage_engagementpages_manage_metadataread_insightsbusiness_managementpages_messaging
Facebook-specific operations
These exist for Facebook only and live under /misc/facebook.
| Operation | Endpoint |
|---|---|
| Search Facebook Pages | GET /misc/facebook/pages |
| List Facebook text background presets | GET /misc/facebook/text-format-presets |
| Get Facebook token debug details | GET /misc/facebook/token-debug |
| Start a new Facebook recommendations import | POST /misc/facebook/recommendations/import |
| Get Facebook recommendations import status list | GET /misc/facebook/recommendations/import |
| Get Facebook recommendations import by ID | GET /misc/facebook/recommendations/import/{importId} |
| List imported Facebook recommendations | GET /misc/facebook/recommendations |
| Get a single imported Facebook recommendation | GET /misc/facebook/recommendations/{recommendationId} |
| Get recommendation thread comments | GET /misc/facebook/recommendations/{recommendationId}/comments |
| Reply to a Facebook recommendation | PUT /misc/facebook/recommendations/{recommendationId}/reply |
| Reply to a Facebook recommendation thread comment | PUT /misc/facebook/recommendations/{recommendationId}/comments/{commentId}/reply |
| Edit an existing Facebook post | PATCH /misc/facebook/post |
| Delete a Facebook post | DELETE /misc/facebook/post |
| Edit a Facebook comment | PATCH /misc/facebook/comment |
| Delete a Facebook comment | DELETE /misc/facebook/comment |
When Facebook says no
Siar relays Facebook's error code and message verbatim on the post, next to a status you can act on. The Facebook error reference covers 12 common cases with what each one means and the fix. Open the Facebook error reference.
Facebook API questions
What can I post to Facebook through the API?
post, reel, story. Posts, reels and stories on Facebook Pages, including link posts and Page recommendations.
How many Facebook posts can I publish per day?
Per connected account and UTC day: 10 on Free, 50 on Pro, 100 on Business. The caps keep the account within what Facebook tolerates.
Can I schedule Facebook posts?
Yes. Set postDate in the future and a status of SCHEDULED. Siar publishes at that time and sends a post.published webhook when the post reaches a final state.
How do I connect a Facebook account?
A Facebook Page you manage. Personal profiles cannot be published to through the API. Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire.
What do I do when Facebook rejects a post?
The post carries Facebook's own code and message. The Facebook error reference explains 12 common rejections and how to fix them.
Your first post isone request away.
The Free plan includes 20 posts and 200 uploads a month across 3 teams. No card needed.