Does Facebook have an API?
Only with approval: reading public Page posts and comments needs the Page Public Content Access feature, App Review and business verification. SocialToAI reads its publicly visible posts, comments and accounts without a Facebook developer account: 4 interfaces from 2 credits a call (≈ $0.004–$0.0067), and failed calls are free. Official facts checked 2026-10-17.
The short answer
Only with approval: reading public Page posts and comments needs the Page Public Content Access feature, App Review and business verification.
What the official API allows
Facebook's Graph API can read public Page posts, comments and metadata only through the Page Public Content Access feature, which requires App Review and business verification and may require additional contracts.
Source: Facebook's own developer documentation, checked 2026-10-17. What a platform allows changes; its own pages are the authority.
Reading Facebook's public data with SocialToAI
SocialToAI is an API and MCP server for publicly visible content and account information. You need no Facebook account and no app review: one SocialToAI key, or signing in from Claude, ChatGPT, Claude Code, Cursor and Codex. Each call costs a fixed number of credits, and a failed call costs nothing.
| Interface | What it returns | Price key | Credits |
|---|---|---|---|
| Detail | One post by link: text, author, likes, comment count, views and publish time. | facebook.detail | 2 |
| Comments | The comments under one post: text, likes, reply count and time. | facebook.comments | 2 |
| User Profile | One account: name, bio and followers. | facebook.user_profile | 2 |
| User Posts | The recent posts of one account. | facebook.user_posts | 2 |
curl https://api.socialtoai.com/v1/detail \ -H "Authorization: Bearer $SOCIALTOAI_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "facebook", "url": "https://www.facebook.com/reel/2166091230582141" }'- No Facebook account, cookie or developer approval on your side.
- What comes back is what the platform shows publicly; commenters are anonymised.
- Every platform answers in the same response format, so the same code reads Facebook and the others.
- Prepaid credits from 2 credits a call; 100 free credits on sign-up, no card.
Sources
- Facebook: developers.facebook.com, checked 2026-10-17
- Facebook API on SocialToAI: every call and its credits, last tested 2026-10-17
- The live catalog: what is offered now and its credits, readable without a key
Last updated: