Reputation: 99
I have a website where pages are loaded via AJAX so I reload the Facebook comments box and like button (FB.XFBML.parse()
) each time a link is opened. I was wondering if there is a similar way to reload the Google Plus button with JavaScript for a page.
Upvotes: 2
Views: 1740
Reputation: 31860
Parsetags should be set to explicit.
See: https://developers.google.com/+/plugins/+1button/
Then you can call gapi.plusone.go();
to have the tags re-parsed.
Upvotes: 4