twitch-api-php: Refresh token calls do not work because they call the wrong URL
I couldn’t figure out why refresh token calls were always failing. It turns out that refresh token calls are supposed to be called from id.twitch.tv, not api.twitch.tv, according to the documentation.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (7 by maintainers)
Thanks. I got it working now. The issue wasn’t the api calls themselves. Rather, my refresh codes were getting truncated when stored, thus they were invalid. 🙄 Thanks for the help and the work. I still think the library should move to the New Twitch API sooner rather than later, and I’m happy to help if I can, since I use and depend on the library. Hopefully you can find time to start that project soon (you mentioned a new repo for it), and when you do, please let me know you and did and how I can help.