Get OAuth tokens programmatically
Hi everybody! I'm building my web application and there is a need to use 3rd party API. This API uses the OAuth protocol. I have generated the client key and client secret for my application. After this, I was able to get an access token. But each day it becomes expired and I need to repeat the entire procedure of authorization from the very beginning. It is annoying and time-consuming. I would like to automate this process. Is there a way to perform authorization with OAuth programmatically, without interacting with the front end (user interface)?