In the event that the running application needs to be restarted, use the following Heroku CLI command:
> heroku dyno:restart -a oasis-timeline-autobotTo view the running application logs, use the following Heroku CLI command:
> heroku logs --tail -a oasis-timeline-autobotIf the application loses its access to the Twitter API, follow these steps to restore it:
- In a browser window, go to https://oasis-timeline-autobot.herokuapp.com/oauth2/authorize. This will re-direct to Twitter to authorize the app and should redirect back to https://oasis-timeline-autobot.herokuapp.com/oauth2/callback. If everything is successful,
OKwill be displayed as the response in the browser window. - In the same browser, go to https://oasis-timeline-autobot.herokuapp.com/oauth2/access_tokens/refresh to refresh the tokens. A response of
SUCCESSwill be displayed if everything worked.