how to count Google Buzz followers

122 Views Asked by At

How can I get a user's Google Buzz follower count? Can I use jQuery or something else?

1

There are 1 best solutions below

0
On BEST ANSWER

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>