Google Plus Creating a Post - Rest API -Forbidden

核能气质少年 提交于 2020-01-07 00:35:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!