how to count Google Buzz followers
How can I get a user's Google Buzz follower cou开发者_如何学运维nt? Can I use jQuery or something else?
if all you want is buzz follower count, you don't even need jQuery. Just use the JSONP support in the Buzz API, and call the followers endpoint...
<html>
<head>
<script>
function followerCount(response) {
alert(response.data.totalResults);
}
</script>
<script src="https://www.googleapis.com/buzz/v1/people/googlebuzz/@groups/@followers?alt=json&callback=followerCount&max-results=0"></script>
</head>
</html>
精彩评论