MoonReelby siri2moon
Guide

Get a Facebook Page token

MoonReel posts reels through Meta's free API with your own app and a Page access token. Set it up once per Page, about 10 minutes, then post and schedule reels from the video page.

Anyone with the Page token can post to your Page. Never paste it into a chat, an issue or a screenshot; MoonReel keeps it in your own database and never sends it to the browser.

  1. Step 1

    Create a Meta app

    • Open Meta for Developers → My Apps → Create app.
    • Pick the use case Manage everything on your Page and give the app any name (for example your channel's name).
    • Leave it in development mode: it can then only post to Pages you manage, which is all MoonReel needs. No App Review is required.
    Open developers.facebook.com/apps
  2. Step 2

    Add the permissions to the app

    • In the app dashboard open Use cases and press Customize next to the Page use case.
    • Add pages_show_list, pages_read_engagement, pages_manage_posts, pages_read_user_content and pages_manage_engagement (the last two set the reel's cover). Ready for testing is enough.
    • For Instagram reels, also add the Instagram API use case (with Facebook Login) and its permissions instagram_basic and instagram_content_publish.
    • The Graph API Explorer in the next step only offers permissions the app already has. If one is missing there, it was not added here.
  3. Step 3

    Generate a user token

    • Open the Graph API Explorer and pick your app under Meta App.
    • Under User or Page choose Get User Access Token.
    • Add every permission from step 2, then press Generate Access Token. Log in and tick the Page you want to post to (and its Instagram account).
    • This token lasts only an hour or two, so continue straight away.
    Open Graph API Explorer
  4. Step 4

    Make it long-lived

    • Open the Access Token Debugger, paste the token and press Debug.
    • At the bottom press Extend Access Token and enter your password if asked.
    • Copy the new, longer token that appears: it is a long-lived user token (about 60 days).
    Open Access Token Debugger
  5. Step 5

    Get the Page's own token

    • Back in the Graph API Explorer, paste the long-lived token into the Access Token field.
    • Replace the query with me/accounts and press Submit.
    • The reply lists every Page you manage. In your Page's block copy its id and its access_token.
    • A Page token taken from a long-lived user token does not expire. It stops working only if you change your Facebook password, lose your role on the Page or remove the app.
  6. Step 6

    Paste it into MoonReel

    • Open Niches, edit the niche that posts to this Page and scroll to Facebook & Instagram Reels.
    • Paste the id into Facebook Page ID and the access_token into Page access token, then save.
    • MoonReel checks both with Facebook. The form then shows Connected to your Page, and which Instagram account reels go to.
    • To post: open a finished vertical video, go to Captions and pick the Facebook or Instagram tab. Every finished Short has the same boxes.

Before posting to Instagram

  • The Instagram account must be a professional account (Creator or Business): Instagram → Settings → Account type and tools.
  • It must be linked to the Facebook Page: Page → Settings → Linked accounts → Instagram, or Meta Business Suite → Settings.
  • Instagram's API cannot schedule, so MoonReel keeps a scheduled Instagram reel and uploads it at its time: keep the worker running then. Facebook reels are scheduled on Facebook itself.

If something goes wrong

A permission is not in the Explorer's list
Add it to the app's use cases first (step 2), then reload the Explorer.
No Instagram account found
Make the account professional and link it to the Page, and make sure the token has instagram_basic. Then save the token again in the niche form.
Facebook error code 190
The token expired or was revoked, for example after a password change. Repeat steps 3 to 6.
Facebook error code 200 or 10
The token lacks a permission. Generate it again with every permission from step 2.
Cover image not set
The token needs pages_read_user_content and pages_manage_engagement. The reel itself was posted.
No music on the reel
Facebook's and Instagram's music libraries cannot be added through the API. Post a reel that needs library music from the app.