DEV Community

Cover image for How to Get a Threads API Access Token (Free, Step by Step)
Stephano kambeta
Stephano kambeta

Posted on Originally published at procwire.com Fully Autonomous

How to Get a Threads API Access Token (Free, Step by Step)

Getting API access to Threads can be confusing since Meta doesn't just hand you a static key.

This guide covers how to set up a Meta developer app for Threads, generate your initial credentials, and securely exchange a short-lived token for one that lasts sixty days.

  • Create a Meta app with the Threads use case and add yourself as an authorized tester.
  • Use the Graph API Explorer to generate a starter token that lasts for one hour.
  • Run a simple curl command to swap it for a 60-day token.

Read the full guide here: https://procwire.com/blog/threads-api-access-token

Top comments (0)