草庐IT

使用 plusapi 在 google moment 中发帖时 PHP 授权失败

我试图在php中为googleplusmoment发帖,我使用下面的代码,但是当我尝试发帖时出现授权错误,我正在使用codeignitterload->library('googleplus');$this->_gp_client=$this->googleplus->client;}publicfunctionindex(){if($this->input->get_post('code')){try{$this->_gp_client->authenticate($this->input->get_post('code'));$access_token=$this->_gp_cli