AutoReel Contact
Docs · Connecting Facebook with a token
← Docs

Connecting Facebook with a token

No domain of your own, and no redirect address to register. Also done once.

Updated 13 Oct 2026 Tiếng Việt

When to use this route

  • Your machine has no domain of its own, or you would rather not set one up.
  • The Connect Facebook flow is blocked by Meta over a domain, even after registering everything.
  • You want a token that never expires, so there is no reconnection in sixty days.
You still need a Meta app for this route — it is what the token belongs to. But you do not need to register App Domains or Valid OAuth Redirect URIs on it.

Getting a token

  1. Open the Graph API Explorer

    Go to developers.facebook.com/tools/explorer and choose your app in the Meta App box at the top right.
  2. Tick all three permissions

    Under Permissions, tick pages_show_list, pages_read_engagement and pages_manage_posts.
  3. Press Generate Access Token

    Sign in, choose a Page, and agree. The token box fills with a very long string.
  4. Copy that string

    Copy the whole token. One missing character breaks it, and nothing says a character is missing.

Pasting it into the app

  1. Open the Facebook screen

    In the app, the Bán hàng (Selling) group, then the Facebook screen.
  2. Open the section for this route

    Open "Nếu đăng nhập không tự quay về" — the same place the address goes.
  3. Paste into the token box

    Paste the token into "Token để dán" and press Kết nối bằng token này ("connect with this token").
  4. Tick the Pages

    The Page list appears. Tick the ones you want to post to.
The Page list appears after pressing Kết nối bằng token này. The app exchanges the user token for a 60-day one and reads the Page list — no Valid OAuth Redirect URIs, no App Domains.

Making the token never expire

The token above is a user token, good for about 60 days. To get one that does not expire, take a Page token — each Page has its own, and it dies only if you change your Facebook password or revoke the app.

  1. Extend the user token

    Paste the token into developers.facebook.com/tools/debug/accesstoken and press Extend Access Token. That gives you a long-lived one, about 60 days.
  2. Change the path to me/accounts

    In the Graph API Explorer, change the path to me/accounts and submit. The result lists your Pages, and each one carries its own access_token.
    me/accounts
  3. Copy the Page token

    That is the Page token. Copy it and paste it into the app exactly as before.
  4. Check it in the Debugger

    Paste the Page token into the Access Token Debugger. The Expires line has to read Never.
A Page token that does not expire means the connection is made once and not revisited — no coming back in sixty days.

Six messages worth recognising

The message What it means The fix
*The domain of this URL isn't included in the app's domains*App Domains is missing, malformed, or was never savedSet autoreelvn.com in App Settings → Basic, press Enter to make the chip, Save, then F5 to check
*Invalid Scopes: pages_show_list, …*The three permissions were never added to the use caseSee step 3 of the Meta app page
The app says the address is not a Facebook loginWhat was pasted has no ?code=… — the copy was shortCopy the whole address out of the browser's address bar
The app says the session does not match or has expiredMore than 10 minutes passed, or the link is from an earlier attemptPress Connect Facebook again and finish in one go
*Token đã hết hạn* (token expired)A user token lasts about 60 daysPress Connect Facebook again, or take a Page token above
Live, and Connect is still blocked over the domainThe redirect URI or App Domains still does not matchUse the token route — it needs no domain at all

Checking, and disconnecting

The Facebook screen has a Kiểm tra button — it asks Facebook directly whether the connection is alive, rather than reading back what was stored. Ngắt kết nối erases the stored connection; the next time you have to connect from the beginning.

What next

Selling Posting to Facebook →