Skip to content
Espectro Soluções

Espectro: connect Meta (Facebook Login for Business)

Give Espectro access to your business assets on Meta: ad accounts (spend and campaigns), Facebook Pages and Instagram accounts (comments, messages, leads, publishing) and catalog. Every connection is made through Meta's own window: you never paste your Facebook password anywhere. This tutorial also shows the Channels screen, where the Pages, Instagram and each Page's updates live.

On this page
  1. Who does it
  2. Before you start
  3. The connection buttons
  4. What to choose in the Meta window
  5. Step by step
  6. Part A. Connect the ad accounts
  7. Part B. Connect Pages and Instagram
  8. Part C. Instagram only (no Facebook Page)
  9. Part D. The Channels screen
  10. Part E. Disconnect and turn off updates
  11. Part F. System user token (advanced)
  12. How to know it worked
  13. Common problems and fixes

Who does it

The account owner. All connections are owner only ("Only the account owner can connect Meta."). The team cannot connect, disconnect or turn on a Page's updates.

Before you start

  • A Facebook profile that is an admin of the store's Business portfolio, with access to the ad accounts, Pages and Instagram accounts you want to use.
  • Instagram has to be a professional account (business or creator) and be linked to the Facebook Page. If it is not, you can connect Instagram only (Part C).
  • For customer service WhatsApp, see WhatsApp for customer service.
  • Espectro never turns on a campaign, ad set or ad. It only pauses, after your click and confirmation. To turn it back on, use Meta Ads Manager (What Espectro is).

The connection buttons

Each screen asks only for the permissions it uses (connection in parts):

ButtonWhere it isWhat for
Connect with FacebookMeta Ads, Connect ad account screenSpend, budget and campaigns; pausing; creating a paused ad
Connect Pages and InstagramChannelsComments, messages, leads and insights
Connect Instagram onlyChannelsInstagram without a Facebook Page
Connect WhatsApp BusinessChannels, Customer service WhatsApp cardCustomer service WhatsApp (coexistence with the phone app; WhatsApp for customer service)
Connect to publishPublishPosting to the Page and Instagram
Connect catalogCatalogCreating Pixel, catalog and items
Connect for AICampaign AITest of Meta's ads AI server

Connecting one part does not connect the others. When a part is already connected, the button becomes Reconnect ... (for ad accounts, Reconnect with Facebook; for WhatsApp, Connect another number; Connect Instagram only does not change).

What to choose in the Meta window

This applies to all the buttons above, except WhatsApp (WhatsApp for customer service) and Connect Instagram only, which opens Instagram's own login. The window belongs to Meta (Facebook Login for Business), and the screen names may change.

  1. Confirm it is your Facebook profile and continue.
  2. Choose the store's Business portfolio.
  3. Select the assets Espectro may use (ad accounts, Pages, Instagram accounts, catalogs or datasets), depending on the button. Select only what belongs to the store. The Page needs full control in the chosen portfolio.
  4. Accept the requested permissions. Each button only asks for its own list; if you decline, Meta grants none and that button does not work.
  5. Save or finish and wait to be sent back to Espectro.

Step by step

Part A. Connect the ad accounts

Requirements: a Facebook profile that is an admin of the Business portfolio, with access to the ad accounts. Being the account owner in Espectro.

  1. In Analytics > Meta Ads, with no account connected, the notice "No Meta ad account connected" shows up with the Connect button. Click it. The Connect ad account screen opens. (Later, the "N Meta account(s) connected" button, at the top of Meta Ads, brings you back to this screen.)
  2. In the Ad accounts card, click Connect with Facebook.
  3. In the Meta window, choose the portfolio and the ad accounts and confirm.
  4. Back in Espectro, you see, for example, "2 accounts connected." Accounts deactivated on Meta are left out and the notice says how many.
  5. The table shows each account with Account (name and act_), Business, Currency (the one Meta reports), Spend in reais, Meta tax, Connection and the Currency, rate and tax (owner only) and Remove buttons.

Ad account in another currency (USD, EUR...): Meta sends the spend in the account's currency, and Espectro adds everything up in reais. Click Currency, rate and tax on the account's row (owner only):

  1. Spend currency already comes with the currency Meta reports (change it only if you know it is another one).
  2. In Exchange rate to reais, type how many reais 1 unit of the currency is worth (example: 5,42 for 1 dollar).
  3. Click Save. The Spend in reais column starts showing "R$ 5,42 per 1 USD" and "changed on" with the date. History lists each change.

The rate applies to the whole period the screen shows (older days too): this account's spend counts converted in the Overview, in Meta Ads (spend, CPA, ROAS and profit) and in the ad account filter. A BRL account needs nothing ("already in reais"). An account in another currency without a rate shows Rate missing, and its spend stays out of the total until you fill it in.

Meta tax: in Brazil Meta charges a tax on top of spend (12.15%), and the spend it reports comes without it. Espectro adds the spend with the tax everywhere (Overview, Meta Ads, CPA, ROAS and profit), older days too. A BRL account comes with 12.15% ("default"); an account in another currency, with 0%. To change it, open Currency, rate and tax and fill in Meta tax (%); empty goes back to the default. The history keeps every change.

One account, several stores: the same ad account can advertise for different stores. Spend goes into each store's profit by campaign, not by the whole account: on the Meta Ads screen, each campaign has its store (found automatically from the ads' link or the sales, or chosen by the owner). See Campaign store.

Ad accounts card with one connected account and Remove
Ad accounts card with one connected account and Remove
Authentication with Meta, at the top of the screen, with the connections Valid
Authentication with Meta, at the top of the screen, with the connections Valid

To check: Meta Ads starts showing the badge with the connected accounts and the spend columns filled in. The Authentication with Meta card (at the top of the same screen) shows Valid.

Connection that expires

The normal connection uses a system user token, which does not expire (Connection column: Connected; the Expires field shows "Never"). If it is a type that expires, the column shows Connected, N days; 7 days before the end it becomes Expires in N days and then Expired, reconnect. No token = connection lost. To renew, click Reconnect with Facebook.

Getting back to this screen later

The Connect ad account screen has no menu item. In Meta Ads, click the "N Meta account(s) connected" button at the top (or use the address https://app.espectrosolucoes.com.br/#/meta-ads-conexao).

Removing an account

Click Remove on the row (owner only) and confirm "Remove this account from the dashboard?". The spend for that account already stored in Espectro is removed too. The store chosen by hand for its campaigns is kept for when you connect again.

What usually goes wrong

  • "Signed in, but no active ad account showed up.": your profile does not have access to the accounts in the portfolio, or the accounts were not selected. Ask for access and connect again.
  • The Connect with Facebook button does not show up (or the screen shows app setup instructions): the Meta connection is not turned on on the server yet. Contact support.
  • "Connection cancelled on Facebook." or "The sign in took too long or came from somewhere else. Try again.": connect again, without leaving the window idle.
  • "Your dashboard session expired. Sign in and connect again.": sign in to the dashboard and repeat.
  • "Meta refused the connection: (reason)": read the reason; if it mentions permissions, connect again accepting all of them.
  • Rate missing in the Spend in reais column: the account is not in reais. Enter the rate in Currency and rate (above); until then, its spend stays out of the Overview and Meta Ads.

Part B. Connect Pages and Instagram

Requirements: a profile that is an admin of the portfolio, with access to the Pages and Instagram. Instagram has to be a professional account (business or creator) and be linked to the Facebook Page. Being the account owner in Espectro.

  1. In Settings > Channels, in the Connect the business card, click Connect Pages and Instagram (if it is already connected, the button is called Reconnect Pages and Instagram).
  2. In the Meta window, choose the Pages and the Instagram accounts and confirm.
  3. Back in Espectro, "Connected." appears with how many Pages were found.
  4. On each Page, click Turn on updates for this Page. The badge changes from Updates off to Updates on. Without this, new comments, messages and leads do not come in on their own.
  5. Changed something on Meta (new Page, Instagram linked later)? Click Refresh Pages. "N Page(s) refreshed." appears.
Connect the business card with Reconnect Pages and Instagram, Connect Instagram only and Refresh Pages
Connect the business card with Reconnect Pages and Instagram, Connect Instagram only and Refresh Pages
A Page's card with Updates on and Instagram linked
A Page's card with Updates on and Instagram linked

Publish, Catalog and AI

Each screen has its own connection, with the button at the top of the card next to the Connected or Not connected badge: Connect to publish (Publish screen), Connect catalog (Catalog screen) and Connect for AI (Campaign AI screen). When it is already connected, the button becomes Reconnect (for example Reconnect catalog). Connecting Pages in Channels does not connect the catalog, and vice versa. Follow the Meta window the same way.

What usually goes wrong

  • The Page shows No token: the connection dropped. Connect again.
  • Instagram does not show up: it is not a professional account or is not linked to the Page. Link it on Meta and click Refresh Pages, or use Connect Instagram only.
  • Comments and messages do not come in on their own: Turn on updates for this Page is missing.

Part C. Instagram only (no Facebook Page)

Requirements: a professional Instagram account and its login. Being the account owner in Espectro ("Only the account owner can connect Instagram.").

  1. In Channels, click Connect Instagram only (the button only shows up when this kind of login is turned on on the server).
  2. Sign in with the Instagram account and authorize.
  3. Back in Espectro, "Instagram connected: @..." appears, along with a card of its own showing "connected with Instagram Login".
  4. Click Turn on updates.
Card of an Instagram account connected with Instagram Login, with Expires
Card of an Instagram account connected with Instagram Login, with Expires

Watch out:

  • This connection expires (about 60 days) and does not renew on its own: the card shows Expires and, 7 days before the end, the notice "This Instagram connection expires in N day(s) and does not renew on its own. Connect again before that." (expired: "This Instagram connection expired: ..."), with Connect again. Before the date, click Connect Instagram only again.
  • Besides the notice on the screen, Espectro sends an email 10 days before and another 3 days before it expires (once each), with the link to Channels. It goes to the account's confirmed email and to each owner's email, in the language that owner uses in the dashboard with phone notifications turned on (otherwise, in Portuguese). Reconnected: the countdown starts over with the new expiry date.
  • If the card says "This connection predates the comments and insights permissions...", click Connect again.
  • Messages from this account show up in the Instagram (login) tab of Messages (Customer service).

Part D. The Channels screen

What it is for: connecting the Facebook Pages, Instagram and customer service WhatsApp, turning on each Page's real-time updates, seeing the Pages' insights and boosting a post.

What is on the screen:

  • Connect the business: the buttons Connect Pages and Instagram (or Reconnect Pages and Instagram), Connect Instagram only and Refresh Pages, and the Connect with a system user token (advanced) block (Part F).
  • Authentication with Meta: each connection with Token type, Expires, Granted permissions and the list of permissions, with the Valid, Invalid or Not verified badge.
  • One card per Page: photo, name, Updates on or Updates off badge, the Turn on updates for this Page button (or Turn off updates), Linked Instagram, Subscribed fields, Connection (the modules with a token, or No token), and the Last 28 days insights and Posts and boost buttons (see the Pages' insights and boosting a post).
  • One card per Instagram account connected on its own (no Page): Turn on updates (disappears once on), Remove (confirm "Remove this Instagram account from Espectro?"; this also deletes that account's comments and messages in Espectro), Followers, Posts, Expires and Last 28 days insights.
  • Customer service WhatsApp (WhatsApp for customer service).
  • Real-time updates (webhook) and Connections: technical cards (the address that receives Meta's updates and who connected, with Disconnect). Only change them with support.
Channels with Connect the business and Authentication with Meta
Channels with Connect the business and Authentication with Meta
Authentication with Meta card: each connection, the token type and expiration, and the granted permissions
Authentication with Meta card: each connection, the token type and expiration, and the granted permissions
Customer service WhatsApp card
Customer service WhatsApp card
Connections card: who connected, the modules and Disconnect
Connections card: who connected, the modules and Disconnect
Real-time updates card (addresses blurred)
Real-time updates card (addresses blurred)

Part E. Disconnect and turn off updates

  • Disconnect (owner only, Connections card) deletes from Espectro that person's tokens and the Pages of that connection, along with their comments, messages, leads and posts. It also deletes the "Instagram only" accounts of the same Instagram, the customer service WhatsApp if it uses the same token, and the Conversions API token of the products that had been copied from that connection. The confirmation on screen lists all of this before deleting. Ad accounts stay (they are removed with Remove, on the Connect ad account screen). It does not remove the app on Meta: for that, use Facebook's Business integrations.
  • Turn off updates (owner only) stops receiving updates from that Page, without disconnecting. Confirm "Turn off updates for this Page? New comments, messages and leads stop arriving automatically."

Part F. System user token (advanced)

What it is for: connecting by pasting a token generated on Meta, instead of using the login window. Use it only if support asks you to, or if you already work with system users.

Important: this path is temporary. Under Meta's platform rules, Espectro should only use the token that comes from Meta's own login window (Facebook Login for Business), and the pasted-token blocks will be removed from the dashboard. Whenever you can, connect with the buttons in Parts A to C.

Where it is in Espectro:

BlockScreenFields
Connect with a token (advanced)Connect ad accountAd account ID (act_ + number), Nickname, Access Token, Connect with token button
Connect with a system user token (advanced)Channels, Connect the business cardToken, Connect with token button
Connect with a system user token (advanced)Channels, Customer service WhatsApp card (WhatsApp for customer service)WhatsApp Business account ID, Phone number ID, Token, Save WhatsApp button
Connect with a token (advanced) for the ad account (fields blurred)
Connect with a token (advanced) for the ad account (fields blurred)
Connect with a system user token open in Channels (field blurred)
Connect with a system user token open in Channels (field blurred)

On Meta (summary):

  1. In Business settings, open System users.
  2. Create (or choose) a system user and assign the assets to it (ad account, Pages, Instagram or WhatsApp Business account).
  3. Generate a token with the permissions for what you will use:
    • Ads: ads_read and ads_management.
    • Pages and Instagram (customer service): pages_show_list, pages_read_engagement, pages_manage_metadata, read_insights, pages_read_user_content, pages_manage_engagement, pages_manage_ads, pages_messaging, pages_utility_messaging, leads_retrieval, instagram_basic, instagram_manage_insights, instagram_manage_comments and instagram_manage_messages.
    • For Publish, add pages_manage_posts, instagram_content_publish and instagram_manage_contents.
    • Catalog: business_management and catalog_management.
    • WhatsApp: whatsapp_business_management, whatsapp_business_messaging and business_management.
  4. Copy the token (it starts with EAA) and paste it in Espectro.

Results: in Channels, "Connected." (the token also works for Publish, Catalog and AI, if it has the permissions), "Meta did not accept the token: ..." or "Empty or invalid token."; for the ad account, "Connected: (name) (currency)" or "Could not verify the account: ..."; for WhatsApp, "WhatsApp saved." or "This number does not belong to that WhatsApp Business account (checked with Meta)."

Watch out: the token is a password. Never send it over Discord, email or WhatsApp. A system user token does not expire, but it stops working if it is deleted on Meta. When you connect WhatsApp with a token, Espectro also subscribes the app to the WhatsApp Business account's updates; if Meta refuses, the connection is saved and the screen shows the step that failed. Even so, prefer WhatsApp for customer service.

How to know it worked

  • Meta Ads shows the badge with how many Meta accounts are connected and the Budget, Spend, CPA, Profit and ROAS columns filled in.
  • Channels shows the Pages with Connection filled in, Instagram linked and Updates on.
  • The Authentication with Meta card shows Valid.

Common problems and fixes

ProblemWhy it happensFix
"Signed in, but no active ad account showed up."Your profile does not have access to the accounts in the portfolio, or you did not select the accounts in the window.Ask for access in the Business portfolio and connect again.
The Connect with Facebook button does not show up.The Meta connection is not turned on on the Espectro server yet.Contact the Espectro Discord.
I connected, but permissions are missing.Some permission was declined in the Meta window.Connect again accepting all of them.
The Page shows No token.The Page connection dropped or was removed.Connect again with the Channels button.
Comments and messages do not come in on their own.The Page's updates are off.Click Turn on updates for this Page in Channels.
Instagram does not show up.Instagram is not a professional account or is not linked to the Page.Link the professional Instagram to the Page on Meta and click Refresh Pages, or use Connect Instagram only.
The Connection column shows Expires in N days or Expired, reconnect.The connection is a type that expires.Click Reconnect with Facebook.
"Only the account owner can connect Meta." or "Only the account owner can change connections, keys and tokens."Your role is Team.Ask the account owner.