Hi!
I’m new using this API and cant find the answer to this error.
When i try to get a collection i get a 400 error but i’m using client_id example:
https://api.twitch.tv/kraken/collections/myIbIFkZphQSbQ/items&client_id=xxxxxxxxxxxxxxxxx
error “Bad Request”
status 400
message “No client id specified”
I can get video channles, videos, etc with no error, only happens in collections!
What am i doing wrong?
Thanks in advanced!
george
August 2, 2017, 2:04am
2
Change & to ?
? is the start of the query string
& separates multiple parameters in said string
If you get a 404 afterwards make sure you are sending the correct version header.
2 Likes
Thanks for your reply.
Looks like the problem is when i send the php string. I tried using terminal and curl cmd’s and it worked.
I just dont know whats the query string format to use in this case:
https://api.twitch.tv/kraken/collections/myIbIFkZphQSbQ/items&client_id=xxxxxxxxxxxxxxxxx
ou
https://api.twitch.tv/kraken/collections/myIbIFkZphQSbQ/items?client_id=xxxxxxxxxxxxxxxxx
Is there any PHP docs or examples?
Thanks in advanced!
system
Closed
September 1, 2017, 2:12pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.