【发布时间】:2013-04-05 09:24:56
【问题描述】:
我正在尝试在用户的 Google+ 信息流中发帖,并且正在使用 google-api PHP 客户端进行尝试。到目前为止,我已经能够使用最新的 google-api PHP 客户端和示例脚本配置测试环境(有关更多信息,请参阅 401 Unauthorized access when posting Google+ Moments with PHP Client)。它看起来像是在发帖,因为它返回了一个带有答案的数组,但用户流中没有显示任何内容。
答案数组是:
Array (
[kind] => plus#moment
[type] => http://schemas.google.com/AddActivity
[target] => Array (
[kind] => plus#itemScope
[url] => https://developers.google.com/+/plugins/snippet/examples/thing
)
[result] => Array (
[kind] => plus#itemScope
)
[id] => xxxxxxxxx
)
这看起来是正确的。有谁知道为什么会发生这种情况以及如何解决?谢谢!
【问题讨论】:
标签: google-api google-plus google-api-php-client