Trade a short-lived Facebook token for a long-lived one

Trade the connection's short-lived Facebook user token for its 60-day user token, kept sealed in the vault

The facebook-messenger descriptor's acquire.then step: GET graph.facebook.com/v23.0/oauth/access_token with grant_type fb_exchange_token, the Facebook login's app id and secret and the connection's short-lived token, all placed from the vault only as the request leaves. The reply's access_token is kept in the vault as the connection's user_access_token field before the reply is read; tool:list-the-facebook-pages-a-sign-in-reaches then reads the Pages it reaches with it. Run by tool:connect-an-account-by-signing-in-to-the-service at the sign-in callback, right after tool:trade-a-facebook-sign-in-code-for-its-short-token.

What it asks for

Nothing: your AI starts it with your words.

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.

Say to your AI: “Use Trillion to trade the connection's short-lived Facebook user token for its 60-day user token, kept sealed in the vault”