Google Friend Connect does not work?

July 2nd, 2010 by admin | Filed under Blogging.

This will be helping with your Google Friend Connect issue that does not work in one browser but not working in other browsers. It seems this only occurs on WordPress blogs and is a matter of a WordPress file called prototype.js not being compatible with Google Friend Connect JSON code. prototype.js (JavaScript file) is essential for WordPress sites to work correctly.

This step can be used this script and placed just above scriptcode from Google Friend Connect

<script>
window.JSON = {
parse: function(st){
return st.evalJSON();
},
stringify: function(obj){
return Object.toJSON(obj);
}
};
</script>

From Google themselves it of course is a JavaScript error and Google Friend Connect should work after this code addition before the gadget code in WordPress.  Thanks to Chris Lang who has been willing to share in solving this problem

Related Posts

Sign up for PayPal and start accepting credit card payments instantly.

Tags: , , , ,

One Response to “Google Friend Connect does not work?”

  1. Chris Lang says:

    Glad I could be of help and thanks for the link :] Cheers!

Leave a Reply

*

Valid CSS!

SEO Powered by Platinum SEO from Techblissonline