10

如何使用 php 通过 API 在 Google+ 页面上发帖

在搜索 Google+ API 时,获得了 Google 页面 API(https://developers.google.com/+/api/pages-signup),它允许用户在 Google+ 页面上发帖,但要将这个 API 列入白名单,需要申请 Google+ 页面 API
我我没有获得 Google+ 页面 API 的任何文档(如何在页面上发布)

4

3 回答 3

7

目前,没有公开的 API 可以发布到 Google+。您找到了请求访问 API 的注册表单。如果获得批准,Google 将为您提供 API 信息。

于 2013-01-11T12:37:27.940 回答
2

签出此链接。Google 已经发布了 Page API,但仅限于某些公司,而且选择标准似乎非常严格。

Google + Pages API - 合作伙伴申请表

于 2013-11-30T12:44:05.037 回答
2

我们试图找到另一种在 Google+ 上发帖的方法,但没有找到任何解决方案,因为 Google+ 为写入权限提供了更高的安全性。

Google+ 默认提供读取权限,使用我们的常规 google 帐户我们可以轻松做到这一点,但我们想在 Google+ 上发帖,因此我们需要 google 权限,并且要获得权限,我们需要创建 google 域帐户。

请检查谷歌说的这个注释:

重要提示:对于使用 Google+ Domains API 的帖子,access.domainRestricted 属性必须设置为 true。默认情况下,Google+ 中的帖子是不公开的,因此您还必须指定 access.items 属性以选择域内有权查看帖子的受众。

并且授予谷歌的权限也说:

必需 - 授予应用代表用户创建帖子或评论的权限。Google+ Domains API 只允许创建受限帖子,并且只允许将评论添加到受限帖子。

您可以查看这些波纹管链接:

https://developers.google.com/+/domains/posts/creating

https://support.google.com/plus/answer/2705802 https://developers.google.com/+/domains/api/activities/insert#auth

https://developers.google.com/+/domains/authentication/scopes

https://developers.google.com/+/domains/api/activities/insert

于 2017-03-31T10:29:35.587 回答