Dymantic / laravel-instagram-feed

150 stars 51 forks source link

Error validating access token: Session has expired on Saturday, 05-Feb-22 07:56:09 PST #49

Closed ateequrrahman97 closed 2 years ago

ateequrrahman97 commented 2 years ago

Hello, @michaeljoyner hope you are doing well! It's not an issue but I want some dynamic implementation for that, Is there any way to refresh the token before the expiration of the session using a cron job? But I know that to authenticate the package provides the URL. Please look into it. Thanks

michaeljoyner commented 2 years ago

Hi @ateequrrahman97 I am doing very well thanks.

There is an artisan command to refresh the tokens, you'd just need to make sure it is run every few days. See the docs here

ateequrrahman97 commented 2 years ago

Hi @ateequrrahman97 I am doing very well thanks.

There is an artisan command to refresh the tokens, you'd just need to make sure it is run every few days. See the docs here

Thanks, @michaeljoyner I really miss that.