threads-graph-api icon indicating copy to clipboard operation
threads-graph-api copied to clipboard

feat: methods for getting and refreshing long-lived tokens

Open MikMik1011 opened this issue 7 months ago • 0 comments
trafficstars

I've implemented methods for getting and refreshing long-lived tokens for Threads users, allowing the app to stay authenticated without requiring reauthentication every hour.

Additionally, I refactored the authorization code exchange method to use the internal _apiPost method, ensuring consistency across the codebase.

I’ve manually tested these changes, and everything works as expected with no impact on other parts of the codebase.

MikMik1011 avatar Mar 24 '25 03:03 MikMik1011