You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known issue of php-curl: https://bugs.php.net/bug.php?id=69035
As discussed in #47, certificates and SDK release cycles are completely different. We do provide the crt in the repo as a commodity (the default loading path doesn't really fit all situations).
My advice is to package the SDK without the certificate and install the certificate aside on your server(s).
Than, after loading the phar:
use FacebookAds\Api;
Api::init('<APP_ID>', '<APP_SECRET>', '<ACCESS_TOKEN>')
->getHttpClient()->setCaBundlePath('<PATH_TO_CERT>');
Hi,
I'm building phar with usage of ads sdk and unfortunately I've this error.
I think it's totally the same error as this one FriendsOfPHP/Goutte#88
Regards.
The text was updated successfully, but these errors were encountered: