Getting user info and display them on a website

@BarryCarlyon

Thanks mate it’s very helpful for me,

  1. I want that the user datas to persist in my website to avoid the user to have to authorize the app via Twitch Popup everytime, I can use localStorage to store the accessToken and the expirationDate ?

  2. How do you do to avoid the user to click on “authorize app” ? It looks like the redirection is done automatically on your site ?

  3. I’m using React/Node and I was using https://id.twitch.tv/oauth2/token to get the accessToken and then https://api.twitch.tv/helix/users to get the username and id of the user, but it seems you directly do the request on helix/users you ?