Google Analytics API V3 / OAuth 2

前端 未结 3 820
醉话见心
醉话见心 2021-01-02 10:38

I\'ve desperately tried to figure this out on my own, and did not want to come to SO with this question, but I\'m at my wits end (no thanks to the api / oauth docs).

3条回答
  •  心在旅途
    2021-01-02 11:14

    It could be a problem with CURL request. In the GoogleAnalyticsAPI.class.php > class Http > function curl (around line 720) add one more option to stop CURL from verifying the peer's certificate:

    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

提交回复
热议问题