
Developer guide
Facebook API Guide: Graph API, Access, Limits and Connected Accounts
What Meta's Facebook APIs cover in 2026, how to get access tokens and App Review, what the official API no longer allows, and how a SaaS app can connect its users' own Facebook accounts instead.
Post
Northwind BakeryAs Page · Just now
Our autumn menu starts Monday.
243
Julia NashThe pumpkin bread is back!
Messages
Maya RossTo Northwind Bakery
Do you deliver on Sundays?
Yes, 9am to noon.
Seen
Webhooks
New message
New reaction
GET
chats
POSTmessages/send
POSTposts
200 OK
Table of Contents
Basics
Short answer
Yes, Facebook has an API: the Graph API, Meta's HTTP interface for reading and writing Facebook data. Products such as the Pages API, the Messenger Platform and the Marketing API are built on top of it. You access it through a Meta app, access tokens granted by users or Pages, and permissions approved in App Review.
This guide maps each Facebook API to the account it serves, explains access and limits, lists what Meta has removed, then shows another model for SaaS apps: letting each user connect their own Facebook account through the Facebook Messenger API by Unipile.
Definition
Is There a Facebook API?
Yes. Meta exposes Facebook data to developers through the Graph API, a versioned HTTP API. Every other Facebook developer product, from Page management to Messenger and ads, is a set of Graph API endpoints with its own permissions and review.
There is no single API key. What you get depends on whose data you touch: a person who logs in to your app, a Facebook Page they manage, or an ad account. Each one comes with its own token type and its own review by Meta.
A userUser access token from Facebook Login, limited to the permissions the person grants.
A PagePage access token, for someone who has a task on that Page.
An ad accountMarketing API access through a business and its system users.
Graph API
What Is the Facebook Graph API?
The Graph API is the HTTP API behind every Facebook integration. All requests go to graph.facebook.com, and almost every endpoint requires an access token. Data is organized as a graph of nodes, edges and fields.
Nodes
Objects
A single object with an ID: a user, a Page, a post, a comment, a photo. Example: GET /{page-id}.
Edges
Connections
Collections attached to a node, such as the posts of a Page or the comments of a post. Example: GET /{page-id}/feed.
Fields
Properties
The data you ask for on a node, selected with the fields parameter. Example: ?fields=id,message,created_time.
Versions and the Graph API Explorer
Each request can name a version in its path, such as /v27.0/, released on November 4, 2026. Meta ships several versions a year and keeps each one for at least two years, so plan upgrades: the changelog gives the date until which each version stays available. The Graph API Explorer lets you test calls before writing code, and the Meta Graph API tab of the code example below shows a first request: reading a Page feed.
Source: Meta's Graph API changelog, which listed v27.0 (introduced November 4, 2026) as the latest version. Last verified: November 17, 2026.
Map
The Facebook APIs at a Glance
Each Facebook API serves one kind of account. Choosing the right one starts with a simple question: are you acting for a person, a Page or an advertiser?
| API | What it does | Account it serves | Access required |
|---|---|---|---|
| Graph API | Read and write Facebook objects | Users, Pages, businesses | Meta app, access token, permissions |
| Pages API | Publish posts, moderate comments, read Page data. Guide: Facebook post API | Facebook Pages | Page access token, Page tasks, App Review |
| Messenger Platform | Send and receive Page conversations | Facebook Pages and Instagram professional accounts | Page token, messaging permission, App Review |
| Marketing API | Create ads and read ad performance | Ad accounts | Business verification, ads permissions |
| Conversions API | Send web and offline events for ads | Businesses running ads | Pixel or dataset, system user token |
| Facebook Login | Sign people in to your app | Facebook users | Meta app with Facebook Login |
Graph API
What it doesRead and write Facebook objects
AccountUsers, Pages, businesses
AccessMeta app, access token, permissions
Pages API
What it doesPublish posts, moderate comments, read Page data. Guide: Facebook post API
AccountFacebook Pages
AccessPage access token, Page tasks, App Review
Messenger Platform
What it doesSend and receive Page conversations
AccountFacebook Pages and Instagram professional accounts
AccessPage token, messaging permission, App Review
Marketing API
What it doesCreate ads and read ad performance
AccountAd accounts
AccessBusiness verification, ads permissions
Conversions API
What it doesSend web and offline events for ads
AccountBusinesses running ads
AccessPixel or dataset, system user token
Facebook Login
What it doesSign people in to your app
AccountFacebook users
AccessMeta app with Facebook Login
Messaging on Instagram goes through the same Messenger Platform: see our guide to the Messenger API for Instagram. WhatsApp has its own platform, covered in the WhatsApp API guide.
Decision
Which Facebook API Do You Need?
Start from what your product does, not from the API list. Each situation below points to one API and its access requirements.
You publish to your own Page
Pages API
Page access token from a Page admin, Page tasks, App Review. Facebook Page API guide.
You answer people who message your Page
Messenger Platform
Page token, pages_messaging, 24 hour messaging window.
You run or measure ads
Marketing API and Conversions API
Ad account access, business verification, system users.
You let people sign in with Facebook
Facebook Login
A Meta app with Facebook Login configured.
Your users connect their own accounts in your SaaS
Unipile API
Personal accounts and the Pages they manage, through hosted authentication.
Access
How to Get Access to the Facebook API
There is no standalone API key. You create a Meta app, people grant it access tokens through Facebook Login, and Meta reviews the permissions your app requests before it can serve the public.
1
Create a Meta developer account
Register on Meta for Developers with your Facebook account.
2
Create a Meta app
Pick the app type and use case, then note the App ID and App Secret.
3
Add Facebook Login for Business
Users and Page admins sign in and grant permissions to your app.
4
Request permissions
For example pages_show_list, pages_manage_posts or pages_messaging.
5
Pass App Review
Advanced Access is required before people without a role on your app can use it.
Access tokens: user, Page, app and system user
| Token | Acts for | Typical use |
|---|---|---|
| User access token | Acts for a person who logged in to your app | Short lived by default, can be exchanged for a long lived token |
| Page access token | Acts for a Page, obtained from /me/accounts | Needed by most Pages API and Messenger endpoints |
| App access token | Acts for the app itself | App settings and some public data |
| System user token | Acts for a business, without a person | Server to server jobs, ads and Pages owned by the business |
User access token
Acts forActs for a person who logged in to your app
Typical useShort lived by default, can be exchanged for a long lived token
Page access token
Acts forActs for a Page, obtained from
/me/accountsTypical useNeeded by most Pages API and Messenger endpoints
App access token
Acts forActs for the app itself
Typical useApp settings and some public data
System user token
Acts forActs for a business, without a person
Typical useServer to server jobs, ads and Pages owned by the business
Lifetimes differ by type. According to Meta, short-lived user tokens typically last about one to two hours and long-lived ones about 60 days, while system user tokens can be set not to expire based on time; Meta warns that these durations may change without notice. The full walkthrough, from generating a token to exchanging and debugging it, is in our Facebook API access token guide, and the Facebook Page access token is covered in the Page API guide.
Permissions, Page tasks and App Review
Most Pages API endpoints need a Page access token from a person who can perform a task on the Page, such as CREATE_CONTENT or MODERATE. In development mode, only people with a role on your app can use it. To serve other users, each permission needs Advanced Access, granted after App Review, and business apps often need business verification too.
Sources: Meta's access tokens guide and Pages API overview. Last verified: November 17, 2026.
Real time
Facebook API Webhooks: Get Events in Real Time
Instead of polling, Meta pushes events to an HTTPS endpoint you own: new Page messages, read receipts and reactions. Setting it up takes four steps.
1
Verify your endpoint
Meta sends a GET request with hub.mode, hub.verify_token and hub.challenge. Check the token and return the challenge.
2
Subscribe the Page
Call POST /{page-id}/subscribed_apps with a Page access token and the fields you need, such as messages.
3
Validate every payload
Each event carries an X-Hub-Signature-256 header, a SHA256 signature made with your App Secret.
4
Answer fast
Return 200 OK quickly. For Messenger, Meta asks for a response within 5 seconds and disables the subscription after an hour of failures.
messagesA person sends a message to the Page
message_readsThe person read your message
message_deliveriesYour message was delivered
message_reactionsThe person reacted to a message
messaging_postbacksThe person tapped a button or menu item
POST
/{page-id}/subscribed_apps
success
With Unipile, you register one webhook URL and receive new, edited and deleted messages, read receipts and reactions for every connected Facebook account, in the same format as your other channels.
Sources: Meta's Webhooks getting started guide and Messenger webhooks. Last verified: November 2026.
Limits
What the Official Facebook API Does Not Let You Do
Several things people expect from a Facebook API were removed or never offered to third party apps. Knowing them early saves weeks of design work.
- Post to a personal profile. The
publish_actionspermission was deprecated on April 24, 2018 and apps lost it on August 1, 2018. Apps can publish to Pages, not to a person's own timeline. - Use Facebook Groups. Meta deprecated the Groups API with Graph API v19.0 on January 23, 2024, including the
publish_to_groupspermission. - Message from a personal account. The Messenger Platform lets a Facebook Page or an Instagram professional account reply to people. The standard messaging window is 24 hours after the person's last message. See how it works with a Facebook Messenger API for personal accounts.
Sources: Meta's Facebook Login changelog, Graph API v19.0 announcement and Messenger Platform overview. Last verified: November 2026.
Need your users' own conversations?
If your app needs Messenger, posts and comments from the accounts your users connect themselves, see the Facebook Messenger API by Unipile.
Rate limits
Facebook API Rate Limits and Versioning
The Graph API counts calls in two systems, depending on the token you use.
Platform rate limit
200 x users calls per hour
Calls made with a user or app token, counted against the number of users of your app.
Business Use Case, Pages
4,800 x engaged users calls per 24 hours
Calls to Pages endpoints with a Page or system user token.
Read the usage headers Meta returns with each response, slow down before you reach the limit, and upgrade your Graph API version before the one you call is retired.
Source: Meta's rate limiting guide. Last verified: November 2026.
Errors
Common Facebook API Errors and How to Fix Them
Graph API errors come back with a code, often an error_subcode, and an fbtrace_id to share with Meta support. Read the code before retrying: only some errors go away with time.
| Code | What it means | What to do |
|---|---|---|
| 190 | Access token expired or invalid (subcodes 463, 467) | Get a new token; ask the user to log in again. See the Facebook API access token guide |
| 10, 200 to 299 | Permission not granted or removed | Request the permission again, check App Review |
| 4, 17, 613 | Too many calls for the app or the user | Pause, then retry with backoff |
| 100 | Invalid parameter or ID | Check the ID and the token you send |
| 368 | Temporarily blocked for policy violations | Wait, then review what was sent |
| 506 | Duplicate post | Change the content before posting again |
| 10 / 2018278 | Message sent outside the allowed window | Reply only while the messaging window is open |
Code 190
What it meansAccess token expired or invalid (subcodes 463, 467)
What to doGet a new token; ask the user to log in again. See the Facebook API access token guide
Code 10, 200 to 299
What it meansPermission not granted or removed
What to doRequest the permission again, check App Review
Code 4, 17, 613
What it meansToo many calls for the app or the user
What to doPause, then retry with backoff
Code 100
What it meansInvalid parameter or ID
What to doCheck the ID and the token you send
Code 368
What it meansTemporarily blocked for policy violations
What to doWait, then review what was sent
Code 506
What it meansDuplicate post
What to doChange the content before posting again
Code 10 / 2018278
What it meansMessage sent outside the allowed window
What to doReply only while the messaging window is open
Sources: Meta's Graph API error handling and Messenger error codes. Last verified: November 2026.
Pricing
Is the Facebook API Free?
Mostly, yes. Meta does not sell access to the Graph API. What costs money is advertising, some message types, and the engineering time to build and keep an integration running.
Graph API accessNo feeMeta does not charge for calling the Graph API. Your cost is the app setup, App Review and maintenance.
Messenger conversationsFree to useMeta describes the Messenger Platform as free to use; marketing messages are billed through your ads account.
AdsYour ad spendThe Marketing API is free to call, but the campaigns it creates are paid like any other ad.
Costs by message type, the 2026 billing changes and the real cost of running a Meta app are covered in our pricing guide, which answers is the Facebook API free in detail. If your users connect their own accounts through Unipile, you pay Unipile per connected account instead: see the API pricing.
Documentation
Where to Find the Facebook API Documentation
Everything official lives on Meta for Developers. Meta is moving its pages to developers.facebook.com/documentation/, and several older /docs/ links now redirect there. These six pages answer most integration questions; for Instagram, WhatsApp, Threads, ads and AI, see our Meta API guide.
With Unipile
Another Model: Connect Your Users' Own Facebook Accounts
CRMs, helpdesks, AI agents and multichannel inboxes need their users' own conversations and posts. With Unipile, each user links their Facebook account through a hosted authentication page, and your app calls one REST API on their behalf, without a Meta app or App Review on your side.
Linked accounts
Anna LeePersonal account
Northwind BakeryPage
Link account
Inbox 2PagePersonal
Leo MartinIs the shop open today?Page
Sara KimPhoto sentPersonal
Book clubTom: See you at 7Group
Omar HaddadSeenPage
Published as Page
Northwind BakeryJust now
Our autumn menu starts Monday.
24 reactions2 comments
Julia NashThe pumpkin bread is back!
Ben TorresDo you take pre-orders?
GET
api.unipile.com/v2/{ACCOUNT_ID}/chats
200 OK
| Area | What the Unipile API covers for Facebook |
|---|---|
| Connection | Hosted Auth or Custom Auth, with the user's credentials and two factor authentication, browser cookies or the UniLogin extension |
| Messaging | List chats and messages, start a chat, send messages and attachments, edit, delete, forward, reactions, read receipts, group chats |
| Posts and comments | Read, create, edit and delete posts; list, add, reply to, edit and delete comments; reactions on posts and comments |
| Users and relations | Profiles, followers and following, friend requests (send, accept, decline, cancel) |
| Webhooks | New, updated and deleted messages, read and delivery receipts, new reactions, chat updates |
| Facebook Pages | Read and reply to the messages of a Page the user manages, and publish posts as the Page. A Page cannot start a conversation or delete its messages |
| Not supported | Stories, pinned messages, blocking users |
Connection
Hosted Auth or Custom Auth, with the user's credentials and two factor authentication, browser cookies or the UniLogin extension
Messaging
List chats and messages, start a chat, send messages and attachments, edit, delete, forward, reactions, read receipts, group chats
Posts and comments
Read, create, edit and delete posts; list, add, reply to, edit and delete comments; reactions on posts and comments
Users and relations
Profiles, followers and following, friend requests (send, accept, decline, cancel)
Webhooks
New, updated and deleted messages, read and delivery receipts, new reactions, chat updates
Facebook Pages
Read and reply to the messages of a Page the user manages, and publish posts as the Page. A Page cannot start a conversation or delete its messages
Not supported
Stories, pinned messages, blocking users
Users can connect a personal Facebook account, and the Pages they manage become available through the same endpoints. The same API also covers LinkedIn, WhatsApp, Instagram, Telegram, email and calendars. Full list in the provider features table.
List chats and send a message
Once a user has connected their account, you get an account_id. Every call uses your Unipile API key in the X-API-KEY header. The second tab shows a first call to Meta's Graph API for comparison: reading the latest posts of a Page with a Page access token.
# 1. List the Facebook chats of a connected account
curl --request GET \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/chats" \
--header "X-API-KEY: {YOUR_API_KEY}"
# 2. Reply in one of those chats
curl --request POST \
--url "https://api.unipile.com/v2/{ACCOUNT_ID}/chats/{CHAT_ID}/messages/send" \
--header "X-API-KEY: {YOUR_API_KEY}" \
--header "content-type: application/json" \
--data '{ "text": "Thanks for your message, your order ships today." }'
# Read the 3 latest posts of a Page (Graph API v27.0)
# Needs a Page access token with pages_read_engagement and pages_read_user_content
curl "https://graph.facebook.com/v27.0/{PAGE_ID}/feed?fields=id,message,created_time&limit=3&access_token={PAGE_ACCESS_TOKEN}"
# Response (abridged)
{ "data": [ {
"id": "{PAGE_ID}_{POST_ID}",
"message": "Our autumn menu starts Monday.",
"created_time": "2026-11-16T09:30:00+0000"
} ],
"paging": {
"cursors": { "before": "{CURSOR}", "after": "{CURSOR}" },
"next": "https://graph.facebook.com/v27.0/{PAGE_ID}/feed?..."
} }
200 OK · message sent from the user's account
200 OK · posts of one Page, one Page token per Page
Step by step setup in the Facebook quickstart. Graph API request checked against Meta's Page feed reference on November 17, 2026.
Compliance
Each user connects their own account
Unipile is an independent company, not an official Meta app and not a Meta Partner. It acts on behalf of authenticated users, and your users remain bound by Meta's terms. Use it for legitimate scenarios such as customer support, CRM and direct conversations.
API reference
Facebook API Endpoints with Unipile
In short
Unipile exposes Facebook through one REST API. Its V2 endpoints cover Messenger chats and messages, posts, comments, reactions, profiles, friend requests, Facebook Pages and webhooks. Each call targets a connected account by its account_id, so one integration serves a personal account and the Pages it manages, with no Meta app on your side.
| Action | Method and path | Personal / Page | Guide |
|---|---|---|---|
| Messaging | |||
| List chats | GET/v2/{account_id}/chats | Personal | Messenger for personal accounts |
| List the messages of a chat | GET/v2/{account_id}/chats/{chat_id}/messages | Personal + Page | |
| Download an attachment | GET/v2/{account_id}/chats/{chat_id}/messages/{message_id}/attachments/{attachment_id} | Personal + Page | |
| Start a new chat | POST/v2/{account_id}/chats/send | Personal | How to send a Messenger message |
| Send a message, text or attachments | POST/v2/{account_id}/chats/{chat_id}/messages/send | Personal + Page | |
| List, add or remove message reactions | GETPOSTDELETE/v2/{account_id}/chats/{chat_id}/messages/{message_id}/reactions | Personal | |
| Mark a message as read | POST/v2/{account_id}/chats/{chat_id}/messages/{message_id}/read | Personal | |
| Posts | |||
| List the posts of a user or a Page | GET/v2/{account_id}/users/{user_id}/posts | Personal + Page | Facebook Post API guide |
| Get a post | GET/v2/{account_id}/posts/{post_id} | Personal + Page | |
| Create a post | POST/v2/{account_id}/posts | Personal + Page | |
| Edit or delete a post | PATCHDELETE/v2/{account_id}/posts/{post_id} | Personal + Page | |
| Comments | |||
| List the comments of a post | GET/v2/{account_id}/posts/{post_id}/comments | Personal | Read and reply to comments |
| List the replies to a comment | GET/v2/{account_id}/posts/{post_id}/comments/{comment_id}/replies | Personal | |
| Add a comment | POST/v2/{account_id}/posts/{post_id}/comments | Personal | |
| Reply to a comment | POST/v2/{account_id}/posts/{post_id}/comments/{comment_id} | Personal | |
| Edit or delete a comment | PATCHDELETE/v2/{account_id}/posts/{post_id}/comments/{comment_id} | Personal | |
| Reactions | |||
| List, add or remove post reactions | GETPOSTDELETE/v2/{account_id}/posts/{post_id}/reactions | Personal | Reactions in the comments guide |
| List, add or remove comment reactions | GETPOSTDELETE/v2/{account_id}/posts/{post_id}/comments/{comment_id}/reactions | Personal | |
| Profiles and relations | |||
| Get a profile | GET/v2/{account_id}/users/{user_id} | Personal | Sync contacts to your CRM |
| List friends | GET/v2/{account_id}/users/me/relations | Personal | |
| List followers or followings | GET/v2/{account_id}/users/{user_id}/followersGET/v2/{account_id}/users/{user_id}/following | Personal | |
| Send or list friend requests | POSTGET/v2/{account_id}/users/me/relation-requests | Personal | |
| Accept, decline or cancel a request | POST/v2/{account_id}/users/me/relation-requests/{request_id}/acceptPOST/v2/{account_id}/users/me/relation-requests/{request_id}/cancel | Personal | |
| Facebook Pages | |||
| Find the Pages of the account | GET/v2/{account_id}/inboxes | Page | Facebook Page API walkthrough |
| List the chats of a Page | GET/v2/{account_id}/inboxes/PAGE_{page_id}_INBOX/chats | Page | |
| Reply as the Page | POST/v2/{account_id}/chats/PAGE_{page_id}_{thread_key}/messages/send | Page | |
| Publish a post as the Page | POST/v2/{account_id}/posts with post_as | Page | |
| Webhooks | |||
| Register a webhook endpoint | POST/v2/webhooks/endpoints | Personal + Page | Real time CRM sync with webhooks |
| Message events | message.new, message.update, message.delete, message.receipt.read, message.receipt.delivery, message.reaction.new | Personal + Page | |
| Chat events | chat.update, chat.delete | Personal | |
Messaging
List chatsGET
/v2/{account_id}/chatsPersonalList the messages of a chatGET
/v2/{account_id}/chats/{chat_id}/messagesPersonal + PageDownload an attachmentGET
/v2/{account_id}/chats/{chat_id}/messages/{message_id}/attachments/{attachment_id}Personal + PageStart a new chatPOST
/v2/{account_id}/chats/sendPersonalSend a message, text or attachmentsPOST
/v2/{account_id}/chats/{chat_id}/messages/sendPersonal + PageList, add or remove message reactionsGETPOSTDELETE
/v2/{account_id}/chats/{chat_id}/messages/{message_id}/reactionsPersonalMark a message as readPOST
/v2/{account_id}/chats/{chat_id}/messages/{message_id}/readPersonalPosts
List the posts of a user or a PageGET
/v2/{account_id}/users/{user_id}/postsPersonal + PageGet a postGET
/v2/{account_id}/posts/{post_id}Personal + PageCreate a postPOST
/v2/{account_id}/postsPersonal + PageEdit or delete a postPATCHDELETE
/v2/{account_id}/posts/{post_id}Personal + PageGuide: Facebook Post API guide
Comments
List the comments of a postGET
/v2/{account_id}/posts/{post_id}/commentsPersonalList the replies to a commentGET
/v2/{account_id}/posts/{post_id}/comments/{comment_id}/repliesPersonalAdd a commentPOST
/v2/{account_id}/posts/{post_id}/commentsPersonalReply to a commentPOST
/v2/{account_id}/posts/{post_id}/comments/{comment_id}PersonalEdit or delete a commentPATCHDELETE
/v2/{account_id}/posts/{post_id}/comments/{comment_id}PersonalGuide: read and reply to comments
Reactions
List, add or remove post reactionsGETPOSTDELETE
/v2/{account_id}/posts/{post_id}/reactionsPersonalList, add or remove comment reactionsGETPOSTDELETE
/v2/{account_id}/posts/{post_id}/comments/{comment_id}/reactionsPersonalProfiles and relations
Get a profileGET
/v2/{account_id}/users/{user_id}PersonalList friendsGET
/v2/{account_id}/users/me/relationsPersonalList followers or followingsGET
/v2/{account_id}/users/{user_id}/followersGET/v2/{account_id}/users/{user_id}/followingPersonalSend or list friend requestsPOSTGET
/v2/{account_id}/users/me/relation-requestsPersonalAccept, decline or cancel a requestPOST
/v2/{account_id}/users/me/relation-requests/{request_id}/acceptPOST/v2/{account_id}/users/me/relation-requests/{request_id}/cancelPersonalGuide: sync contacts to your CRM
Facebook Pages
Find the Pages of the accountGET
/v2/{account_id}/inboxesPageList the chats of a PageGET
/v2/{account_id}/inboxes/PAGE_{page_id}_INBOX/chatsPageReply as the PagePOST
/v2/{account_id}/chats/PAGE_{page_id}_{thread_key}/messages/sendPagePublish a post as the PagePOST
/v2/{account_id}/posts with post_asPageWebhooks
Register a webhook endpointPOST
/v2/webhooks/endpointsPersonal + PageMessage events
message.new, message.update, message.delete, message.receipt.read, message.receipt.delivery, message.reaction.newPersonal + PageChat events
chat.update, chat.deletePersonalAuthentication. Every request carries your Unipile API key in the X-API-KEY header. Your users connect their own Facebook account through Hosted Auth, so you never create a Meta app, go through App Review or store a Page token. Compare this with a Facebook API access token, and see the Messenger API pricing breakdown for costs.
Endpoints taken from the Unipile V2 Facebook documentation and its provider features table. Last verified: November 17, 2026.
Use cases
Facebook API by Use Case
Most Facebook integrations fall into one of these families. Here is what each one looks like inside a product.
ContactsDeals
ContactStage
Julia ChenIs the demo still on?Qualified
Lucas MeyerSend me the quoteProposal
Sofia RiveraSigned, thanks!Won
Daniel MoreauLet's talk MondayNew
Facebook Messenger CRM integration
Sync conversations with contact records so sales and support teams reply from the CRM. See the Facebook Messenger CRM integration.
Every conversation saved on the right contact, without copy and paste.
TicketsCustomers
RequestStatus
Mia OwensWhere is my order? #4521Open
Elena GarciaRefund received #4498Solved
Gabriel LopezPhoto attached #4530Pending
Anna RossiI can't log in #4476Open
Facebook chat and Messenger
Reply to the people who message a Page through the Messenger Platform, or to the contacts of a connected account. See how to send a message.
Facebook requests answered in the usual support tool.
Post as
Northwind Bakery
Anna Lee
Fresh sourdough every morning from 7am.
Publish
Our autumn menu starts MondayPage · TodayPublished
Thanks for 10 great years!Page · Oct 2Edited
Facebook post API
Create, edit and read posts. The official API publishes to Pages only, while a connected account can post as its user. Read the Facebook post API guide.
Posts written, published and edited from your own product.
Comments on Anna Lee's post Our autumn menu starts Monday
CommentTopic
Ben TorresDo you take pre-orders?Question
Julia NashThe pumpkin bread is back!Feedback
Kai OkaforIs it gluten free?Question
Priya RaoCan we book for 20 people?Sales
Facebook comments API
List the comments on a post, then reply, edit or delete from the user's own connected account. Comments always come from that account, never from a Page: commenting as a Page goes through Meta's Pages API. Read the Facebook comments API guide.
Questions under a post spotted and routed to the right team.
Facebook Page API
Publish and moderate the content of a Facebook Page, with a Page access token and the right Page tasks. Read the Facebook Page API guide.
Facebook Messenger API pricing
Meta describes the Messenger Platform as free to use, while marketing messages are billed through ads. Integration and review time are the real cost. See the full breakdown.
Building a single inbox across networks? Read how a unified messaging API works, and our Instagram API guide for the other Meta network.
Choose the right API for your product
Meta's Graph API is the right tool when your app manages its own Pages or ads. When your product needs the conversations and posts of each user's own account, connect them through Unipile and use one API for Facebook and your other channels.
EU Regulated
Digital Markets Act (DMA)
Each user connects their own account, with no profile storage. Unipile is not a Meta Partner. Our Digital Markets Act approach
Facebook API FAQ
Quick answers on keys, versions, access levels, Meta partnership, compliance and Groups.
Developers use it to manage Facebook Pages (posts, comments, insights), answer Page conversations through the Messenger Platform, run and measure ads, and sign people in with Facebook Login. Each use relies on a Graph API product with its own permissions.
There is no single key. Create a Meta app on Meta for Developers to get an App ID and App Secret, then obtain access tokens: user tokens through Facebook Login, Page tokens from /me/accounts. Permissions used by the public need Advanced Access after App Review.
The Graph API is the base HTTP API for Facebook objects such as users, Pages, posts and comments. The Marketing API is a set of Graph API endpoints for ad accounts, campaigns, audiences and reporting, with its own permissions and business requirements.
Not with Meta's official API: apps lost the publish_actions permission on August 1, 2018, and can only publish to Pages. With Unipile, a user who connects their own Facebook account can create posts from it through the Posts endpoints, within Meta's terms.
No. Meta deprecated the Groups API with Graph API v19.0 in January 2024, including the publish_to_groups permission. Unipile does not cover Facebook Groups either.
In November 2026, Meta's changelog listed v27.0 as the latest Graph API version. Meta ships several versions a year and keeps each one available for at least two years, so check the Graph API changelog before you pin one.
No. Unipile is an independent company that works next to Meta's Graph API, not for Meta. It is not a Meta Partner and not an official Meta app, and it is not endorsed, sponsored or approved by Meta. Facebook and Messenger are trademarks of Meta Platforms, Inc.
No. The Meta app, Facebook Login and App Review steps described in this guide apply to Meta's official API. With Unipile, each user links their own Facebook account, and the Pages they manage, through a hosted authentication page, so you skip those steps on your side.
It is designed in the spirit of the Digital Markets Act: rather than one app reading many accounts, each user connects their own account and Unipile acts on their behalf, without storing user profiles. Details on our Digital Markets Act page.
Yes. Whether you call the Graph API or Unipile, Facebook accounts stay subject to Meta's Terms of Service. Keep to legitimate uses such as customer support, CRM and conversations people expect; spam and unauthorized automation can get an account restricted.
Your app is still limited to people with a role on it. With Standard Access, permissions can only be requested from app admins, developers and testers. To serve other people's Pages, each permission needs Advanced Access, approved through App Review, and Meta requires Business Verification for it.
Still have questions? Our team is here to help.
Talk to an expert
