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

[question] Long access token refresh not persisted? #62

Closed
qrazi opened this issue Mar 13, 2023 · 1 comment
Closed

[question] Long access token refresh not persisted? #62

qrazi opened this issue Mar 13, 2023 · 1 comment

Comments

@qrazi
Copy link

qrazi commented Mar 13, 2023

I might be missing something completely, but when I try to refresh the longAccessToken either through the URL from the cron documentation, or through the console command, I don't see it being updated in the Craftagram settings table.

I only see it being saved to the settings table during the Authorization flow.

Am I missing something or is the refresh token flow not working right now?

@qrazi
Copy link
Author

qrazi commented Mar 29, 2023

And I could have read the documentation... 🤦 The refresh of a long access token does not replace it with a new token, but extends the expiration time of the original long access token. See the docs: https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens#refresh-a-long-lived-token

So the long access token is supposed to remain unchanged.

@qrazi qrazi closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2023
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

No branches or pull requests

1 participant