如何查看Google+上网址的分享数量?

use*_*974 5 google-plus

有没有办法检查在Google+上完成了多少个网址?

来自Facebook和Twitter的相应内容将是:http://graph.facebook.com/http: //stackoverflow.comhttp://urls.api.twitter.com/1/urls/count.json?url=http ://stackoverflow.com

在Google+上有相同的内容吗?

Ree*_*ube 7

你在找这个吗?

https://plusone.google.com/_/+1/fastbutton?url=http://stackoverflow.com

如果要搜索文本值,可以在URL的源代码中搜索以下行:

<div id="aggregateCount" class="Oy">{NUMBER_OF_SHARES}</div>
Run Code Online (Sandbox Code Playgroud)

以下JavaScript将从URL中提取共享的数量:

parseInt(document.getElementById('aggregateCount').innerHTML.replace('.',''))
Run Code Online (Sandbox Code Playgroud)