Skip to content
FlowHubFluxonLab
HTTP Request
General Automationfree

Get Long Lived Facebook User or Page Access Token

by Sira Ekabutadapted from n8n official workflow galleryUpdated Aug 2026
RequiresHTTP RequestHTTP Request
Share Post Share
MaWhen clicking ‘Test workflow’When clicking ‘…HRGet Long Lived FB User TokenGet Long Lived …HRGet Long Lived FB Page TokenGet Long Lived …SeSet Parameter123
1/5
STEPS · 3
Run manually by an operator

Facebook access tokens expire quickly, requiring regular updates for continued API access. This workflow simplifies the process of exchanging short-lived tokens for long-lived ones, saving time and reducing manual effort. What this workflow does Exchanges a short-lived Facebook User Access Token for a long-lived token using the Facebook Graph API. Optionally retrieves a long-lived Page Access Token associated with the user. Outputs both the user and page tokens for further use in automation or integrations. Setup Prerequisites: A valid Facebook App ID and App Secret. A short-lived User Access Token from the Facebook platform. (Optional) The App-Scoped User ID for fetching associated page tokens. Workflow Configuration: Replace placeholder values in the "Set Parameter" node with your Facebook credentials and token. Run the workflow manually to generate long-lived tokens.

Tags

n8nreference-only
Connects
WHTTP Request
CategoryGeneral Automation
Triggermanual
Complexitysimple
Nodes4
AddedNov 9, 2024
W
free

Listen on new emails on a IMAP mailbox

Listen on new emails on a given IMAP mailbox. Converts the binary XML attachment to a stringified xmlproperty on the $data object and converts it to JSON. The Setnode could be replaced with Function nodes for example to do a conversion/mapping/transformation. The JSON is ultimately sent to a HTTP Endpoint via POST. This could be a starter for EDI purposes like receiving or transmitting XML data and conversion via JSON object property mapping.

by mail
W
free

Extract post titles from a blog

This workflow uses n8n to extract the names of all the posts from the Hackernoon homepage.

by amudhan
W
free

Create a new DigitalOcean Droplet

Uses a DigitalOcean Personal Access Token to create a new Droplet. Add your personal access token and change the parameters to create droplets of different sizes. You can also specify more options; refer the API docs

by amudhan