我正在使用Google MyBsiness API获取所有商家评论 . 但我无法使用PHP语法和GET,POST方法在MYBusiness中使用 .
誓言之后是我用于获取评论的代码
$mybusinessService = new Google_Service_Mybusiness($client);
$accessToken = file_get_contents($credentialsPath);
$reviews = $mybusinessService->accounts_locations_reviews;
echo '<pre>';print_r($reviews->get('ArtechDev'));exit;
但是我收到错误404(致命错误:带有消息的未捕获异常'Google_Service_Exception')
我确信我不知道如何传递param以及它需要哪些东西 . 我登录的帐户有位置'ArtechDev'也请让我知道我在哪里可以打电话
https://mybusiness.googleapis.com/v3/accounts/account_name/locations/location_name/reviews
谢谢
1 回答
我希望你很久以前就找到了问题的答案,无论如何我会希望别人帮助你 .