meta_exchange_token
Exchange a short-lived access token for a long-lived token valid for 60 days. Supports Instagram and Threads, applies the new token immediately without restart.
Instructions
Exchange a short-lived token for a long-lived token (valid ~60 days). Uses platform-specific endpoints: Instagram (graph.instagram.com) or Threads (graph.threads.net). Requires META_APP_SECRET. On success the new token is also applied in-memory to the running server, so subsequent tool calls use it immediately — no restart required (#65).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform: 'instagram' or 'threads' | |
| short_lived_token | Yes | Short-lived access token to exchange |