· CONNECT · META ·
Connect Meta (Facebook + Instagram)
About 10 minutes. You'll create a Meta developer app, grant page + instagram permissions, and paste a permanent page token.
Quick path: if you've already set up a Meta app for any marketing tool, you can reuse its app ID + secret — just add a new OAuth redirect.
Step 1 — Create a Meta Developer app
- Go to developers.facebook.com/apps → Create App
- Use case: Other → Type: Business
- Name:
Liege Marketing→ Contact email → pick your Business portfolio (Golden Maple, etc.)
Step 2 — Add Facebook Login product
- Left sidebar → Add product → Facebook Login
- Settings → Valid OAuth Redirect URIs → add
https://www.facebook.com/connect/login_success.html - Save
Step 3 — Add your domain
Basic Settings → App Domains → add facebook.com. This allows the Graph Explorer redirect.
Step 4 — Grab app credentials
App Settings → Basic. Copy the App ID. Click Show on App Secret and copy that too (needs your FB password).
Step 5 — Generate a short-lived token
- Graph API Explorer
- Meta App: your app name
- User or Page: User Token
- Add permissions:
pages_show_list,pages_read_engagement,pages_manage_posts,pages_manage_metadata,instagram_basic,instagram_content_publish,business_management - Click Generate Access Token → Choose account → Approve all scopes → Select your Business portfolio
- Copy the resulting token (starts with
EAA)
Step 6 — Exchange for a permanent page token
setx META_APP_ID "<your-app-id>"
setx META_APP_SECRET "<your-app-secret>"
cd skills/meta-toolkit
node meta.js refresh "<the-short-lived-token-you-just-copied>"
This exchanges the short-lived token for a 60-day user token, then pulls a permanent page token (never expires until revoked). All three tokens save to credentials/.env and Windows env vars.
Verify
node meta.js status
node meta.js verify
You should see your FB Page + IG Business account with follower counts.