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?
Facebook Application Error
Moderator: General Moderators
Re: Facebook Application Error
Never Mind.
I fixed it somehow. But new problem. Let me know if you can give me an idea for this.
smarty automatically compiles the <fb:comments> to <comments>
So i am using javascript to write on the document.
It is working in all the browser except IE's all the version.
Is there any way to use facebook API in Smarty.
I fixed it somehow. But new problem. Let me know if you can give me an idea for this.
smarty automatically compiles the <fb:comments> to <comments>
So i am using javascript to write on the document.
It is working in all the browser except IE's all the version.
Is there any way to use facebook API in Smarty.