Make Your Facebook App Public

Facebook Page Access Token: Get, Debug & Post via Graph API (Free Tool)

Get Rid of Ads!


Subscribe now for only $3 a month and enjoy an ad-free experience.

Contact us at khalil@khalil-shreateh.com

🔑 Facebook Graph API Multi-Tool – Page Tokens, Posts, Photos, Insights & More

This is a single-page toolbox for Facebook's Graph API. Every form below opens a new browser tab pointing at the corresponding Graph API endpoint, with your access token and parameters filled in. No backend, no OAuth redirect — just paste your token once and run any action.

⚠️ Two things must be true before anything works:
  1. You must be logged into Facebook in this browser. Facebook's Graph API validates /me/accounts against your session cookie.
  2. You must use the correct token type for each form. Only Get Page Access Token uses a user token. Everything else uses a Page token. Each card below is labeled.

🧭 The 4-Step Workflow

  1. Paste your user token into the shared bar at the top.
  2. Run "Get Page Access Token" — a new tab opens with JSON listing every Page you admin, plus each Page's own access_token.
  3. Copy the Page token for the Page you want, and paste it into the same shared bar — replacing the user token.
  4. Now run any publishing, reading, or management form. They all use the Page token you just pasted.
💡 Why the swap matters: Facebook does not allow posting to a user's personal timeline via API anymore (the old /me/feed + publish_actions flow was deprecated in 2018). The only way to publish via the Graph API today is to a Page, using that Page's own access token.

📖 What This Tool Does

CategoryFormsToken needed
Token retrievalGet Page Access TokenUSER
PublishingPost to Wall · Post Photo · Post Video · Schedule Post · Comment on PostPAGE
ReadingGet Page Feed · Get Page Info · Get Page Insights · Get Post Insights · Get Page ConversationsPAGE
ManagementUpdate Page Info · Delete Post · Send MessagePAGE

✅ Before You Start – What You Need

1. A Facebook User Access Token with the Right Permissions

Grant at least these when generating your user token:

  • pages_show_listrequired, lets the token see your Pages.
  • pages_read_engagement — read Page feed, conversations, insights.
  • pages_manage_posts — publish posts, photos, videos, comments.
  • pages_manage_metadata — update Page settings, manage webhooks.
  • pages_manage_engagement — delete posts, reply to comments.
  • pages_messaging — read and reply to Page conversations.
  • read_insights — pull Page and post insights.
  • business_management — if the Page is owned by a Business Manager.

Get a token from the Graph API Explorer.

⚠️ Keep your token private. A user token gives access to your account. Never paste it into a site you don't trust.

2. A Valid Facebook Session Cookie in Your Browser

If you're not logged into Facebook in this browser, requests will fail with Please log in to continue. Incognito won't work unless you log in inside that incognito session.

💡 Quick check: open facebook.com in a new tab. If your feed loads, you're good.

🛠️ The Tool

Paste your user token first. After running Get Page Access Token, replace it with the Page token you copy from the JSON.
 
GET USER

Get Page Access Token

Lists every Page you admin, with each Page's own access_token. This is the only form that uses your user token. Run this first, then copy a Page token into the shared bar above.

POST PAGE

Post to Page Wall

Publishes a text post (with an optional link) to a Page's timeline. Needs pages_manage_posts. Requires the Page access token for that specific Page — get it from the form above and paste it into the shared bar.

POST PAGE

Post a Photo

Publishes a photo to a Page from a public URL. Needs pages_manage_posts and a Page token.

POST PAGE

Post a Video

Publishes a video to a Page from a public URL. Needs pages_manage_posts, publish_video, and a Page token.

POST PAGE

Schedule a Post

Queues a post for a future time. Needs pages_manage_posts and a Page token. Facebook requires the time to be 10 minutes to 6 months ahead.

POST PAGE

Comment on a Post

Adds a comment to a post. Needs pages_manage_engagement and a Page token for Page-owned posts.

GET PAGE

Get Page Feed

Reads the most recent posts on a Page. Needs pages_read_engagement and a Page token.

GET PAGE

Get Page Info

Fetches public metadata — name, category, fan count, follower count, and more. Works with either token, but a Page token is recommended.

GET PAGE

Get Page Insights

Pulls analytics for a Page. Needs read_insights and a Page token.

GET PAGE

Get Post Insights

Analytics for a specific post. Needs read_insights and a Page token.

GET PAGE

Get Page Conversations

Reads the Page's messaging inbox. Needs pages_messaging and a Page token.

POST PAGE

Send Message to Conversation

Replies inside an existing conversation. Needs pages_messaging and a Page token. Get the conversation ID from the form above.

POST PAGE

Update Page Info

Changes the Page's "About" text or website. Needs pages_manage_metadata and a Page token.

DELETE PAGE

Delete a Post

Permanently removes a post from a Page. Needs pages_manage_posts and a Page token.


📄 Reading the JSON – Finding Your Page Token

When you run Get Page Access Token, the new tab shows raw JSON like this:

{
  "data": [
    {
      "id": "123456789012345",
      "name": "My Awesome Page",
      "access_token": "EAAGm0PX4ZCpsBA...ZDZD",
      "tasks": ["ANALYZE", "ADVERTISE", "MODERATE", "CREATE_CONTENT", "MANAGE"]
    },
    {
      "id": "987654321098765",
      "name": "Another Page",
      "access_token": "EAAGm0PX4ZCpsBA...ZDZD",
      "tasks": ["ANALYZE", "MODERATE", "CREATE_CONTENT"]
    }
  ],
  "paging": { ... }
}
  1. Look for the "data" array. Each object inside it is one Page you administer.
  2. Find your Page by its "name" field. Press Ctrl+F (or Cmd+F) and type the Page name.
  3. Copy two things from that object: the "id" (that's your Page ID) and the "access_token" (that's your Page token).
  4. Paste the Page token into the shared bar at the top of this page — replacing your user token.
  5. Now run any other form using the Page ID and Page token.
💡 If you have many Pages: the response contains up to 100 by default. If you admin more, the "paging" object at the bottom has a "next" URL — open it in a new tab for the next batch.

🐞 Debugging – Common Errors

ErrorMeaningFix
Please log in to continueNot logged into FacebookOpen facebook.com and log in.
code 190Invalid or expired tokenGenerate a new token.
code 10 / 200Missing permissionRe-authorize with the needed scope.
code 200 — "User access token required" or "Page access token required"Wrong token type for this formCheck the badge on the card. If it says PAGE, paste a Page token into the shared bar.
code 100Invalid parameterCheck the ID format and field names.
code 463 / 467Rate limit or checkpointSlow down or resolve the checkpoint in Facebook.
data: []You admin no PagesConfirm you're an admin of the Page.
App in Development ModeOnly app admins/testers can use itSwitch the app to Live or add yourself as tester.
(#200) Permissions error when posting to /me/feedFacebook deprecated posting to personal walls via API in 2018Post to a Page instead. See the workflow at the top of this article.

📋 Summary

StepActionToken in bar
1Generate a user access token with the scopes you need.
2Log into Facebook in this browser.
3Paste the user token into the shared bar.USER
4Run Get Page Access Token. Copy a Page's access_token from the JSON.USER
5Replace the shared bar value with the Page token.PAGE
6Run any publishing / reading / management form with a Page ID.PAGE

📌 Important Security Notes

⚠️ Tokens are credentials. A Page access token lets anyone post and manage that Page. Treat it like a password.
  • This tool does not store your token — everything stays in your browser's URL bar.
  • Your token will appear in the new tab's URL. Avoid screen-sharing while the tab is open.
  • Store long-lived tokens in environment variables, never in client-side code.
  • If a token leaks, revoke it: Facebook → Settings & PrivacyApps and Websites → remove the app.

If you found this app useful

Share it with your friends — and please follow, donate, or contact me here: khalil-shreateh.com/links

Share this page:

Thank you for supporting Khalil Shreateh — your support helps us keep building great tools!