Can't find variable: FB?

I am trying to load a page from jquery.load

, and after I have loaded it, I am trying to run this code on this page:

FB.XFBML.parse();

      

and then I get the error: Can't find variable: FB

What am I doing wrong?

+3


source to share


1 answer


You must first download the Facebook Javascript SDK. See this link for several ways to do this.



+3


source







All Articles