How to integrate facebook javascript SDK with javascript metro style app in windows 8 consumer preview


  • I am trying to integrate facebook-javascript-sdk in javascript metro style app in windows8 consumer preview. At first I had a problem while loading the all.js as web content, then downloaded it and added the reference then I used
    I am getting error in all.js as
     "JavaScript runtime error: Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property or the document.write method to add a script element will generate this exception. If the content is safe and from a trusted source, use a method to explicitly manipulate elements and attributes, such as createElement, or use "
    then I changed the innerHTML to appendChild then I got error saying src is undefined for the root. Please let me know how to trouble shoot this error
    Saturday, June 9, 2012 12:33 PM


All replies