How to create a new post on Google+ via javascript

2019-06-11 01:07发布

问题:

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.



标签: google-plus