如何通过javascript API在Google+上创建新帖子? [英] How to create a new post on Google+ via javascript API?
问题描述
我使用Google+ API已有一段时间,但我注意到有些网站以不同的方式在Google个人资料中使用Google api创建帖子.
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.
常规发布时,一个框会弹出Google+进行共享,但是此网站 https://bufferapp.com/可以分享发布后的现金Google +.
A regular posting, a box would pop up Google+ to share, but this site https://bufferapp.com/ can share a post show cash Google+.
有人可以帮我吗?
推荐答案
您无法以任何公开的API以编程方式将帖子分享到Google+用户的信息流. 开发者政策不允许. .
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似乎使用了Google+ Pages API,该访问权限仅授予少数公司.此API不允许代表个人发帖.
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.
如果您拥有 Google Apps域,则可以使用 Google+ Domains API ,但是仅在域内创建帖子,这些帖子是不公开或不可见的给您网域之外的人.
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.
这篇关于如何通过javascript API在Google+上创建新帖子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!