Open CodeKJ opened 10 years ago
Were you able to resolve this? I am having the same issue.
Hosting provider were using CurlSSL. Must use OpenSSL (even thou they PHP configuration said OpenSSL is enabled, it was not). So I moved to another provider and it was working fine.
I'm having same trouble. Please help me.
Hey guys, having the same issue with Google oAuth. I have OpenSSL enabled in PHP ini. Any advice? Gracias.
When signing in with Facebook account there are error:
OAuth \ Common \ Http \ Exception \ TokenResponseException
Failed to request resource.
Issue appears to be with:
$token = $fb->requestAccessToken($code);
Everything works fine on my local server. No issues. Problem appears only when I put my site on hosting.
I have checked previous issues with same error, but nothing fixed it. Hosting PHP.ini configurations are almost same as mine.
OpenSSL enabled
allow_url_fopen=On
I am out of options, so I hope someone have solution to this, what could cause this error.