Google Buzz Button update Javascript

176 views Asked by At

So, i have been looking for the answer, but all i find is news about how good/bad/and indifferent people are towards the google buzz button. No programmatic way of doing what i need. Basically i have a feed that updates every few seconds and there is a twitter, facebook, and buzz button associated with it. The facebook and twitter are easy to tell the document to update the information.

function _UpdateSocialMedia(element) {
    FB.XFBML.parse(document.getElementById(element.attr("id")));
    element.find('a.twitter-share-button').each(function() {
        var tweet_button = new twttr.TweetButton($(this).get(0));
        tweet_button.render();
    });
}

But how would i update the google buzz button, so that everytime something is added into the page via javascript, that i can tell the google button.js to update the button at a specific element???

0

There are 0 answers