0
我使用谷歌的-API的PHP客戶端(https://github.com/google/google-api-php-client) 當我嘗試連接到遊離鹼服務,我得到以下錯誤:的遊離鹼PHP谷歌API(谷歌API的PHP客戶端)
Fatal error: Call to undefined method Google_Service_Freebase::call()
這裏是我的代碼片段:
$freebase->search(array('automotive');
中游離鹼的服務搜索功能看起來是這樣的:
public function search($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('search', array($params));
}
它調用一個內部函數調用,但它不在類中存在..
有人建議嗎?