Google MyBusiness API working in localhost, but not in hosting server - google-api

My employer has a project approved for Google MyBusiness Api. GMB Api is used to manage locations on Google and its reviews.
The problem I'm facing is that I can get the reviews in localhost, but when I try it in my main hosting server, no reviews are returned. The rest of the Apis like getting accounts and locations work fine, only getting the reviews does not work.
Is there something that I'm missing ?

It was just a temporary issue. Everything is good now.

Related

Google My Business API not found on the library

My web app have recently been approved to use the Google My Business API, when I login to my Google Cloud Library for the related project to enable the API, I could't find the the Google My Business API.
Can anyone tells how to resolve this issue ?
Thanks.
In the list of project APIs, it is shown as "Google My Business API".
The list of project APIs, including the "Google My Business API"
Have you tried with your corporate email account?
Faced a similar problem when I tried to enable Business Messages API. Then I realized
google business won't allow generic email addresses for the allow list and we have to share individual corporate accounts for APIs access and developer console access.

Gem to post message on google plus?

Is there any gem to post message on google plus from our rails application ?. I want to post a meesage on my google plus page whenever i logged in my application using google plus credentials. Please suggest me the gem name to do this. Thanks in advance.
EDIT
I have a app in goole plus. On behalf of my application users, my app should post messages.
I suggest to use gem 'google_plus'`
As Google plus having so many restrictions. Still I would Like to Share a link you can follow that..
How to share content from our site to google plus
For more reference:
https://developers.google.com/accounts/docs/OAuth2
https://developers.google.com/+/web/share/interactive#button_attr_calltoactionurl
I hope it will work fine...
Yes, there's a Ruby client library provided by Google which allows you consume their Google+ API
https://developers.google.com/api-client-library/ruby/apis/plus/v1
UPDATE
The URL above points to Ruby client library. The API you're looking for is moments.insert
https://developers.google.com/+/api/latest/moments/insert
There is an official Google API Client gem. However the Google+ API does not allow standard automated posting to a profile. The recommended approach to share posts is the share button or the interactive share API.
The automated posting that Google+ does support are:
App activities/moments are a way to make actions within your app visible to other users of your app. They do not appear in the Google+ posts stream.
Domains API can be used with Google Apps accounts to create posts that are limited to users within the company.
Pages API can be used to post to a page (not a profile) but is limited to approved partners.

Google Apps Marketplace Migration

We have a Google Apps Marketplace App. Or more precisely, we have 2: one in the old marketplace and one in the new. Both point to the same URL, both do exactly the same thing (OAuth2 authenticating the user(even users from the old Marketplace,, because we handle this users like the "normal" users coming from the Chrome Web Store ).
Now Google wants us to move the users from the old Marketplace app to the new one.
How do we do that?
According to Google's document we should call an UpgradeApp API for every domain.
This requires that we find out all the domains (we don't know them because we don't care, if the user is a marketplace user or not).
So we should probably use licenseNotification on the old Marketplace app, to find out all domains and migrate them one by one?
To try this, I tried to issue the API from API Explorer (https://developers.google.com/apps-marketplace/v2/reference/licenseNotification/list) but got a message (403 FORBIDDEN complaining that I should activate the API . How do I do this? (I already have a project where the Marketplace API and Marketplace SDK is enabled).
Will this approach work at all?
Are there simpler ways of doing this?
The API explorer approach works, I just tried.
Make sure you are providing correct applicationId which is the key here.
GET https://www.googleapis.com/appsmarket/v2/licenseNotification/applicationId

API for getting visitors statistic of heroku app

Does heroku have an API for getting visitors statistic to my web app hosted on their site?
i don't really want to use Google analysis.
No it doesn't. Google (uh) for alternatives if you don't want to use Google Analytics - there are quite a few.

Why does Amazon's Product Advertising API return "Request from blacklist...is throttled."?

I have a registered key from Amazon's Product Advertising API (formerly ECS). I query the API to get information about the product listing for my mobile application. It was working perfectly fine. Today I have noticed that the API returns
"Request from blacklist...is throttled".
I am well within the API call limit. What could be the reasons for this message? Has anyone experienced this?
I still dont know on what basis Amazon API black listed me. But i have figured out a solution around it. Make a new key pair.

Resources