views:

31

answers:

1

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

+4  A: 

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&amp;callback=followerCount&amp;max-results=0"&gt;&lt;/script&gt;
  </head>
</html>
Will Norris