【问题标题】:how to post on google plus pages through api?如何通过api在google plus页面上发帖?
【发布时间】:2013-01-11 06:35:24
【问题描述】:

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

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

【问题讨论】:

    标签: php google-plus


    【解决方案1】:

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

    【讨论】:

    • 好的,但是像 gizmodo 这样的新闻网站如何自动将他们的帖子发布到他们的谷歌页面?
    • 有一个限制访问API,可以提供访问。例如,HootSuite 允许您执行此操作。
    【解决方案2】:

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

    Google + Pages API - Partner Application Form

    【讨论】:

      【解决方案3】:

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

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

      请查看谷歌说的这条注释:

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

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

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

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

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

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

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

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

      【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-15
      相关资源
      最近更新 更多