Facebook Application Error
Posted: Mon Jul 12, 2010 2:41 pm
I am trying to include facebook application (comment box)
It is working in normal html page.
But when i copy and paste that code in a smarty template, i am getting error.
FB.provide is not a function
FB.provide('Array',{indexOf:function(a...|c.hasOwnProperty(d))a(c[d],d,c);}});
all.js (line 10)
FB.init is not a function
FB.init({appId: 'MY_APP_KEY', status: true, cookie: true, xfbml: true});
Please let me know what is wrong in there?
It is working in normal html page.
But when i copy and paste that code in a smarty template, i am getting error.
FB.provide is not a function
FB.provide('Array',{indexOf:function(a...|c.hasOwnProperty(d))a(c[d],d,c);}});
all.js (line 10)
FB.init is not a function
FB.init({appId: 'MY_APP_KEY', status: true, cookie: true, xfbml: true});
Please let me know what is wrong in there?