Awaiting for access form review + additional Q[ Edited ]
December 2016 - last edited December 2016 by Shalini S
Re: Awaiting for access form review + additional Q
Hi @Pawel M,
Yes, you can get list of all reviews, reply to a review and averageRating by using Google My Business API. To manage accounts for your client’s business, you don’t need a separate set of OAuth 2.0 credentials for access to your account and location data in each different Google Account. For separation of access to your Google My Business data in different Google Accounts, all you need to do is to generate and store a separate OAuth 2.0 access token for each Google Account that you use for managing locations in Google My Business.
For generating separate OAuth 2.0 access tokens for each Google Account, when you use your whitelisted project’s credentials to obtain an OAuth 2.0 access token for authentication via the Google My Business API, you should be logging in with your specific Google Account. When this token is provided and you are making API calls, you will be able to view and manage all the existing locations within that specific account. You should repeat this process with a single set of OAuth 2.0 credentials for your separate Google Accounts to obtain a token for each Google Account.
In addition, when using the OAuth 2.0 client ID for authorization, you should store the refresh token for future use and use the access token to access the API. Once the access token expires, the application should use the refresh token to obtain a new one. This way, your application will always be able to request a new access token when necessary. This process requires a user to manually authorize the application only once.
We’ve verified that your project has been approved and whitelisted to use the Google My Business API.
The Google My Business API team