ユーザーのGoogleバズフォロワー数を取得するにはどうすればよいですか?jQueryなどを使用できますか?
1 に答える
4
バズフォロワー数だけが必要な場合は、jQueryも必要ありません。Buzz APIでJSONPサポートを使用し、フォロワーエンドポイントを呼び出すだけです...
<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>
于 2010-08-12T22:35:10.280 に答える