How to renew access token to Threads API
GITFACEBOOKTHREADS
I use a Github workflow to sync content to Threads, Mastodon and Bluesky.
Mastodon and Bluesky do not require any weird things - you set them up once and they are done.
For threads though the access token expires every 60 days.
The steps to renew it are as follows:
- Go to the FB developers website. and find the app you created for the integration. Open the app.
- On dashboard, there is an option to ‘Customize the Access the Threads API use case’. Click that.
- Go to settings in the next window.
- There is a user token generator at the very end of the page, with an action called ‘Generate Access token’.
- Click it. It will open a new window, authenticate to Threads and then it will generate a new access token.
- Copy this token and add it to the secrets on Github Actions.