Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: methods for getting and refreshing long-lived tokens #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MikMik1011
Copy link

@MikMik1011 MikMik1011 commented Mar 24, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant