Can I run JavaScript in FBML canvas application?





Appreciate if you can like this page if you find it useful! - Click "Like"

Well, strictly speaking, the answer is "No".

Facebook does not allow FBML canvas application to run JavaScript. Instead, Facebook provides us with FBJS, which is Facebook's version of JavaScript. The objects inside FBJS are made to mimic the functionality of JavaScript as closely as possible (this is how Facebook describes FBJS) but there are still differences.

For details, please refer to Facebook's documentation on FBJS.




Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!