Log inStart Free Trial
easyCoexistence Official APIs

Facebook Login for Business without your own Meta app

Facebook Login for Business is Meta's login for tech providers: a business type app saves its token type, assets and permissions as a configuration whose config_id opens the dialog, and serving other businesses' Pages takes Advanced Access through App Review. easyCoexistence runs it on its reviewed app: customers pick their Pages on a hosted page, with no App Review of yours, at US$ 9 to US$ 0.75 per Page.

easyCoexistence is social media infrastructure for AI agents: its Partner API connects your customers' WhatsApp, Instagram, Facebook and TikTok accounts to your product, with no app review on your side.

Preferred

How Meta describes Facebook Login for Business: the preferred authentication and authorization solution for tech providers.

config_id

The configuration ID that replaces scope in the login dialog; Meta recommends not sending scope with it.

All or none

Every permission the login asks for must be granted by the person, or the app receives none of them.

Never expires

Default expiry of a business integration system user access token; a user access token is short-lived.

public_profile

Needs Advanced Access before a Facebook Login for Business app goes live, so people without a role can authorize it.

1 per Page

Channels an easyCoexistence Facebook sign-in creates: each Page the customer ticks is its own channel and connection.

What is Facebook Login for Business?

The login Meta builds for software that works on other businesses' assets. Meta calls it the preferred authentication and authorization solution for tech providers building integrations with its business tools for marketing, messaging and selling. Instead of listing permissions in code, the app owner creates a configuration in the App Dashboard: the type of access token to request, the assets the app needs, such as Facebook Pages or Instagram accounts, and the permissions. Meta shows that configuration to the person during login, and they grant the app access to their business assets. Meta's requirements are short and strict:

  • The Meta app is a business type app, or has a use case that supports Facebook Login for Business.
  • Every permission requested at login must be granted, or the app is granted none.
  • email and public_profile can be requested, but never alone: each login asks for at least one other supported permission.
  • Serving businesses you do not own or manage takes Advanced Access, approved through Meta's App Review.
  • Apps with Advanced Access go through ongoing review to keep it, with fewer requirements in some compliance reviews for Facebook Login for Business apps.

Which token should a Facebook Login for Business configuration request?

Meta offers two, and the choice follows how the app acts. A user access token suits actions taken in real time on the person's input, such as someone typing text and clicking a button to post on their Page, and APIs that need admin permissions in a business portfolio. A business integration system user access token suits programmatic, automated actions on a client business's assets with no input from the person and no new sign-in later, such as automatic replies sent as a Facebook Page. That second type comes with conditions of its own: the app can only request logins from web surfaces, the client businesses must have or be willing to create a business portfolio, and the app must be associated with a business portfolio you fully control. Meta compares them this way:

User access tokenBusiness integration system user token
Best forReal-time actions on the person's inputAutomated work on a client's assets
Tied toThe person's own Facebook accountThe client's business portfolio
AccessThe assets the person can already reachThe assets the client assigns at login
ExpiryShort-lived, for online activityNever expires by default; 60 days optional
OAuth grantImplicit by default, authorization code supportedAuthorization code only
Revoked fromFacebook's Business integrations settingsBusiness settings, Integrations, Connected apps

What does building your own Facebook Login for Business take?

A Meta app with its review and upkeep, before the first customer can click Connect. Following Meta's setup guide, the list for a product that serves its customers' Pages is:

  • A business type Meta app, connected to a business portfolio, and Business Verification, which Meta requires for Advanced Access.
  • A configuration under Facebook Login for Business, Configurations: a name, the token type and expiry, the assets and the permissions, which returns the configuration ID.
  • The login dialog, opened with config_id through Meta's JavaScript SDK or a manual flow; a system user token also needs response_type set to code and override_default_response_type set to true.
  • A server-side exchange of the returned code for a token at /oauth/access_token, with the app secret.
  • App Review for Advanced Access to each Page permission the product uses, plus Advanced Access to public_profile before going live.
  • Then upkeep: storing tokens, reacting when a client removes the app, handling error 492 when the person behind a Page token loses their role on the Page, and Meta's annual Data Use Checkup.

How do your customers sign in with Facebook through easyCoexistence?

Through a hosted connect session that runs Facebook Login for Business on easyCoexistence's own Meta app, which has passed App Review for the nine Page permissions a product needs to publish, read comments and answer on Messenger. Your backend creates the session with channel set to facebook; the customer opens its url, sees your name from partner_name, up to 80 characters, and a Continue with Facebook button that opens Meta's login in the same tab, phones included. When the sign-in manages more than one Page, the hosted page lists them and the customer ticks the ones meant for your product: nothing connects until they choose, and the choice is held for 15 minutes. Each Page kept becomes its own channel, tagged with your external_ref and billed as one connection. The redirect names the first Page's channel_id, and GET /channels?external_ref=customer_4821&channel=facebook lists the rest. Your events URL also receives one channel.connected event per Page.

A Facebook connect session for one customer (response trimmed)
curl -X POST https://easycoexistence.com/api/v1/connect-sessions \
  -H "Authorization: Bearer $EC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "facebook",
    "redirect_url": "https://app.example.com/facebook/return",
    "external_ref": "customer_4821",
    "partner_name": "PagePilot"
  }'

201 Created
{ "id": "cs_…", "url": "https://easycoexistence.com/connect/cs_…",
  "channel": "facebook", "status": "created", "channel_id": null, "expires_at": "…" }

What does your backend do with the Pages once they connect?

It works through easyCoexistence's API with the same ec_live_ key for every customer, because the Page token stays with easyCoexistence: Meta's terms do not allow handing it to another app, so GET /channels/{id}?credentials=1 returns the Graph API base and the Page's id and no token. POST /channels/{id}/posts publishes text, a link, a photo or a video to the Page, now or at a publish_at up to 90 days ahead. PUT /channels/{id}/webhook relays the Page's comments, mentions and Messenger messages to your endpoint, signed with X-EC-Signature. Automations answer them, and a call_webhook step lets your own code write the reply: answer {"reply": "..."} within 20 seconds and easyCoexistence sends it from the Page on Messenger, in the chat or as a comment's one private reply. Each Page is checked every 6 hours. When Facebook refuses a Page's token, the channel turns disconnected, channel.disconnected reaches your events URL with your external_ref, and a new connect session for that customer brings the Page back under the same channel_id.

How to set it up

  1. Create an API keyIn the easyCoexistence dashboard, open Developers and create a key that starts with ec_live_, kept on your server.
  2. Open a Facebook sessionWhen the customer clicks Connect Facebook, POST /connect-sessions with channel facebook, your redirect_url, their external_ref and partner_name.
  3. Let them pick their PagesSend the customer to the session url; they continue with Facebook and tick the Pages to connect.
  4. Store every PageOn your redirect_url, confirm the session with GET /connect-sessions/{id}, then save each channel_id from GET /channels?external_ref=.
  5. Relay and answerSet PUT /channels/{id}/webhook per Page and add an automation with a call_webhook step pointing at your backend.

Common mistakes

  • Sending scope with config_id in a login of your own. Meta says config_id has replaced scope and recommends leaving scope out once the configuration exists.
  • Choosing a system user token for a flow the person drives. Meta keeps those tokens for automated work, and they need a web login and a business portfolio on the client's side.
  • Requesting only email and public_profile. Facebook Login for Business refuses a login that asks for those alone, so each one needs at least one other supported permission beside it.
  • Saving only the redirect's channel_id. One sign-in can keep several Pages, each its own channel, so list them by external_ref or count the channel.connected events.
Doing this with EasyCoexistence

easyCoexistence runs Facebook Login for Business on its own reviewed Meta app, so your SaaS adds a Connect Facebook button without a business app, a configuration or App Review: customers pick their Pages on a hosted page with your name, and your backend publishes, receives comments and Messenger messages and replies through automations. The same session call connects Instagram and TikTok accounts. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.

easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook, Google Business Profile and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.

Frequently asked questions

Can I use Facebook Login for Business without my own Meta app?

Not on your own: the login always runs on a Meta app. Through easyCoexistence's connect sessions it runs on easyCoexistence's reviewed app, and your product only creates the session and reads the result.

Which screen do my customers see when they sign in?

First the hosted page with your partner_name and a Continue with Facebook button, then Meta's own Facebook Login for Business window, which names easyCoexistence's app and the permissions it asks for.

What is a Facebook Login for Business configuration?

A saved set of choices in the App Dashboard: the token type and its expiry, the assets and the permissions. Meta gives it an ID, which the app sends as config_id when it opens the login dialog.

Can a customer connect only some of their Pages?

Yes. When their sign-in manages several Pages, the hosted page lists them, and only the Pages they tick connect, each one counted as a connection.

Keep reading

Connect your first channel in two minutes.

No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.

  • 3 days free
  • Cancel any time
  • Official APIs only
  • Monitored 24/7

Verified on