e... my fault ;-) I'm testing from file system, so by default protocol will be file://
2012/11/27 Lukasz Lenart <[email protected]>: > But this time, error is more complicated: > > FB.getLoginStatus() called before calling FB.init(). all.js:52 > GET > file://www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false > > www.facebook.com/plugins/like.php?api_key=&locale=en_US&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Df11ac4a7fc%26origin%3Dfile%253A%252F%252Flocalhost%252Ff13773bad8%26domain%3Dlocalhost%26relation%3Dparent.parent&href=https%3A%2F%2Fwww.facebook.com%2Fapachestruts&node_type=link&width=450&layout=standard&colorscheme=light&show_faces=true&send=true&extended_social_context=false:1 > > > 2012/11/27 Lukasz Lenart <[email protected]>: >> It didn't help, but maybe it's related to OSX ? >> >> >> Regards >> -- >> Ćukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> 2012/11/27 <[email protected]>: >>> Author: jogep >>> Date: Tue Nov 27 21:49:42 2012 >>> New Revision: 1414413 >>> >>> URL: http://svn.apache.org/viewvc?rev=1414413&view=rev >>> Log: >>> Add missing http to facebook integration script >>> >>> Modified: >>> struts/site/branches/site2fluidomigration/src/site/site.xml >>> >>> Modified: struts/site/branches/site2fluidomigration/src/site/site.xml >>> URL: >>> http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1414413&r1=1414412&r2=1414413&view=diff >>> ============================================================================== >>> --- struts/site/branches/site2fluidomigration/src/site/site.xml (original) >>> +++ struts/site/branches/site2fluidomigration/src/site/site.xml Tue Nov 27 >>> 21:49:42 2012 >>> @@ -39,7 +39,7 @@ >>> var js, fjs = d.getElementsByTagName(s)[0]; >>> if (d.getElementById(id)) return; >>> js = d.createElement(s); js.id = id; >>> - js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; >>> + js.src = >>> "http://connect.facebook.net/en_US/all.js#xfbml=1"; >>> fjs.parentNode.insertBefore(js, fjs); >>> }(document, 'script', 'facebook-jssdk')); >>> >>> >>> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
