【发布时间】:2015-05-15 00:17:43
【问题描述】:
我已经阅读了大量关于如何做到这一点的帖子,他们都说要使用:
gapi.client.setApiKey('AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ')
gapi.client.rpcRequest('pos.plusones.get', 'v1', {
nolog: true,
id: "http://www.google.com/",
source: "widget",
userId: "@viewer",
groupId: "@self"
}).execute(function(resp) {
console.log('count:', resp.result.metadata.globalCounts.count)
});
rpcRequest 似乎不再受支持,接受的调用是 .request,但在使用 pos.plusone.get 时它只是 404。有其他网址可以使用吗?这已经不可能了。什么给了?
【问题讨论】:
标签: google-plus share