Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Exception Thrown when retrieving an access token #13

Open
johnnytomcat opened this issue Mar 9, 2011 · 1 comment
Open

Exception Thrown when retrieving an access token #13

johnnytomcat opened this issue Mar 9, 2011 · 1 comment

Comments

@johnnytomcat
Copy link

Exception Thrown when retrieving an access token. This is because curl returns response code of 0 which means it couldn't verify the ssl certificate. To fix just add

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

to the curl request.

Fix uploaded

@jmathai
Copy link
Owner

jmathai commented Mar 9, 2011

Thanks. If you have forked the repository feel free to issue a pull request. Else I'll just manually add this change this week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants