how do I get user informations by name with helix in PHP?
I am new to curl and cant make this work.
This is what I have, and the result is
In the end I try to get channel subscriber images with url by channel name.
Maybe you can help me with that too, but this is not necessary.
FALSE indicates a failure in the request. Check
The error is:
string 'SSL certificate problem: unable to get local issuer certificate' (length=63)
I am working on localhost with no SSL
EDIT: I found the issue myself, this fixed it:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
Thanks for pointing
That’s fine-ish for testing, but for any production system you should fix the certificate verification instead of disabling it as it’s a critical part of SSL/TLS.
Already downloaded the certificate cacert.pem and set the path in php.ini.
Now I can work without disabling the certificate verification.
Sounds like your install is missing the standard cURL certificates bundle. Or you didn’t install anything beyond “os default”
What operating system are you running off?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.