根据此文档https://developers.google.com/+/web/api/rest/latest/people/listByActivity g + api支持"获得帖子的转发器" 但我无法让它发挥作用。
这是一个帖子网址 - https://plus.google.com/u/0/+AseemTejpal/posts/PAcm67KwXaS它有22个resharers atm。
我的步骤(在授权和获取范围为https://www.googleapis.com/auth/plus.login
的访问令牌之后
https://www.googleapis.com/auth/plus.me
):
GET https://www.googleapis.com/plus/v1/activities/z13hypi4rtjjx5ko404chx4pwzikebbaliw/people/resharers?access_token={my_access_token}
通过执行上述请求我得到:
{
"kind": "plus#peopleFeed",
"etag": "\"Sh4n9u6EtD24TM0RmWv7jTXojqc/RL739Eu8qXAJMlvqfIb_fYCs2JA\"",
"title": "Google+ People By Activity: Resharer",
"totalItems": 0,
"items": []
}
例如,plusoners工作正常
GET https://www.googleapis.com/plus/v1/activities/z13hypi4rtjjx5ko404chx4pwzikebbaliw/people/plusoners?access_token={my_access_token}
结果:https://pastebin.com/5khY6cAp
我做错了什么?为什么resharers请求返回0结果? G +支持api获取resharers吗? 感谢。