google-my-business-api

How to create local post on google using PHP MyBusiness API?

本小妞迷上赌 提交于 2020-07-11 06:51:20
问题 I want to create local post on google using google's PHP My Business API V4. Sample code is below $mybusinessService = new \Google_Service_MyBusiness($client); $local = new \Google_Service_MyBusiness_LocalPost(); $path = $locname.'/localPosts'; $response = $mybusinessService->accounts_locations_localPosts->create($path,$local); where $locname is string of accounts/locations id. above code throws exception 'Request contains an invalid argument.' I want to know that how to create post or post

Total Reviews are no longer getting in Google Places API, and Method Not Found in Google My Business API

本小妞迷上赌 提交于 2019-12-23 03:27:11
问题 Since May 25, 2016, Total reviews count are not getting in Google Places API. After doing homework in fixing this issue, I came to know that Google My Business API is the suggested solution. When I tried Google My Business API and make a request on Https as described in their Get Started Guides. I got the following message on OAuth 2.0 Playground I have also tried using client libraries and download C# client library, but unable to open it in VS 2013 as it suggest that my target framework is

To get more than 5 reviews from google places API

拜拜、爱过 提交于 2019-12-17 16:32:58
问题 I am doing an application where I extract the google reviews using google places API.When I read the document related to it in "https://developers.google.com/maps/documentation/javascript/places",I found out that I could get only 5 top reviews.Is there any option to get more reviews. 回答1: There is a feature request for that: Issue 7630: Response to Include More Than 5 Reviews ─ I'd recommend you "star" it to receive updates. 回答2: In order to have access to more than 5 reviews with the Google

Google MyBusiness access from webservers without redirects

烂漫一生 提交于 2019-12-11 06:45:36
问题 As detailed in my question to the the Google API team, I would like to work out a way to avoid redirects. In theory this should be possible as an Authentication Code from one client (JavaScript) should be agnostic of the client and thus it should work if passed to the PHP client to fetch the access and refresh tokens. Steps in theory: 1. Client gets an authorization code 2. Client exchanges the authorization code for the access and refresh tokens How am I attempting this? Run the JavaScript

Unable to get special opening hours from Google Places API

三世轮回 提交于 2019-12-10 19:45:26
问题 Special hours are marketed/documented on Google My Business , see https://support.google.com/business/answer/6303076 Is there a way of retrieve this special opening hours from the Google Places API? I've tried adding special hours to Google My Business. It works as expected in Google Maps and Google search. However, it does not show in the returned values from Google Places API. 回答1: Currently, special hours are not available via Places API. There is a feature request 10145 in the public

To get more than 5 reviews from google places API

妖精的绣舞 提交于 2019-11-27 23:35:27
I am doing an application where I extract the google reviews using google places API.When I read the document related to it in " https://developers.google.com/maps/documentation/javascript/places ",I found out that I could get only 5 top reviews.Is there any option to get more reviews. There is a feature request for that: Issue 7630: Response to Include More Than 5 Reviews ─ I'd recommend you "star" it to receive updates. In order to have access to more than 5 reviews with the Google API you have to purchase Premium data Access from Google. That premium plan will grant you access to all sorts