How to create a new post on Google+ via javascript API?

我们两清 提交于 2019-12-10 11:53:15

问题


I move with the Google+ API for a while now but I have noticed that some sites that create posts in our profile with Google api in a different way.

A regular posting, a box would pop up Google+ to share, but this site https://bufferapp.com/ can share a post show cash Google+.

Could someone help me with this?


回答1:


You cannot programatically share a post to a Google+ user's stream with any of the public APIs. Any attempts to post without the user initiating the post are not allowed by the developer policies.

BufferApp appears to use the Google+ Pages API, which is access that is only granted to a few companies. This API does not allow for posting on behalf of individuals.

If you had a Google Apps domain, you could use the Google+ Domains API, but that creates posts only within the domain, which are not public or visible to people outside of your domain.



来源:https://stackoverflow.com/questions/19075306/how-to-create-a-new-post-on-google-via-javascript-api

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