We have a problem with Facebook jsssdk in how it uploads frames. Our application is associated with stbuild in the iOS application (in addition to being served via http as a mobiel web page).
In iOS mode, the source of your application is file:///[...]/index.html. For us, the style of the URL scheme without the scheme is violated, because it //connect.facebook.net/en_US/all.jstranslates to file:///connect.... Therefore, we updated our fragment to:
(function(d, s, id, debug){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/" + bp.lib.Facebook.getCurrentLocale() + "/all" + (debug ? "/debug" : "") + ".js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk', false));
However, facebook sdk will create an iframe for the individual buttons. They also have <iframe src="//..." >break. I did not find a way to force sdk to use URL schemes.
Does anyone have any ideas? Thanks