I'm trying to load a page with jquery.load, and after I have loaded it, I'm trying to run this code in that page:
FB.XFBML.parse();
and then I get the error: Can't find variable: FB
What am I doing wrong?
You have to load the Facebook Javascript SDK first. See this link for multiple ways to do that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With