问题
I got this error message when I try to create a post to user's wall by calling this rest service. Can somebody help me?
回答1:
You have to enable the Google+Domain API in the google api console.Then try again with your code.
回答2:
To work with google plus domain api you need create account http://apps.google.com/ and then use this user to create post. But!!! They create posts domain restricted. I've not finde way how to create public post for now.
回答3:
Share API available only for GSuite accounts. It is not available for simple accounts @gmail.com
.
You should create GSuite account and use it for Create Post API method.
This post will be available only for domain users.
You can look at this page and you will found the solution for your issue.
https://developers.google.com/+/domains/getting-started#features_comparison
来源:https://stackoverflow.com/questions/38503640/google-plus-creating-a-post-rest-api-forbidden