Discussions

Ask a Question
Back to All

Issue with documentation

I, uh, had a question, but resolved it. The issue was that the documentation has an old URL listed. https://gamewisp.readme.io/docs/connecting-to-a-gamewisp-channel
In the second code block, PHP, it shows a URL: https://gamewisp.com/api/v1/oauth/authorize?client_id=CLIENT_ID_HERE&redirect_uri=REDIRECT_URI_HERE&response_type=code&scope=read_only
This URL is valid, but upon accepting or denying, it gives a 404. This URL should be instead api.gamewisp.com/pub/v1-etc... rather than gamewisp.com/api/v1
I wasn't sure how else to send this feedback, but I'm probably not the first to try to do this and run into problems because of this slight misinformation, so I wanted to put this out there so that page might can be changed for the benefit of others.

Thanks!

Oh and actually the URL itself is not valid without adding &state=optional_state_string_here
I personally send the link without building on a server, because I do not have access to a web server. For a small bot, this is probably relatively common, so having this link shown easily (which you guys did, just missed during an update) is very important, especially for those who are just testing or trying to decide if they want to integrate with Gamewisp. They may give up entirely upon being given a link that simply does not work (without &state) or one that only redirects to a 404

Marked as answered by undefined

Apologies this took so long to address, and for having the typos to begin with. These issues should now be rectified.