I can get an access token no problem and even refresh the token, but when I try to do anything else I just get a 401 error and the message "Authorization has been denied for this request".
I'm running this on my local machine, haven't tried from a web server yet.
Â
It doesn't matter what I try to do with the API, I get the same error for everything. I used this to test by sending a global chat message as I thought it would be nice and simple!
Question
DaveCain
Hey,
Has anyone been able to access the API using PHP?
Â
I can get an access token no problem and even refresh the token, but when I try to do anything else I just get a 401 error and the message "Authorization has been denied for this request".
Â
Here's my function:
Â
Anybody got any ideas?
I'm running this on my local machine, haven't tried from a web server yet.
Â
It doesn't matter what I try to do with the API, I get the same error for everything. I used this to test by sending a global chat message as I thought it would be nice and simple!
Â
Dave
Â
Â
Â
Link to comment
Share on other sites
11 answers to this question
Recommended Posts