Skip to main content
100%

How to get a Facebook Page Access Token that doesn't expire Never!

✓ Published0🌍 Public
Aandreaangeli
Last edited May 5, 2016
Created on Jun 16, 2016

This example demonstrates a step-by-step process for obtaining a Facebook Page access token that does not expire, using the Facebook Graph API. It shows the sequence of calls, from acquiring a short-lived user token with `manage_pages` permission, exchanging it for a long-lived token via the `oauth/access_token` endpoint, and finally retrieving the permanent page token through the `/accounts` endpoint. The code uses plain HTTP requests to `graph.facebook.com` and includes the necessary parameters such as `client_id`, `client_secret`, and `fb_exchange_token`. The visualization is a textual guide with code snippets, highlighting the exact API endpoints and token transformations.

AI-generated description

Similar vizzes