Ok, I managed how to generate app token. Rate_limit has increased to 800. This token is valid for approximately 60 days.
I would like to implement auto-refreshing trigger in app, when token is no longer valid.
According to your documentation there is no problem with app token refreshing, however the refresh token is needed. Unfortunately, during getting app token Twitch server responses with just 3 elements -> [access_token, expires_in, token_type]. There is no refresh_token.
I’ve used post request https://id.twitch.tv/oauth2/token? with query params like client_id, client_secret, grant_type. How to get refresh token mentioned above?