xfbml - Facebook Connect Facepile error -
i've developed simple website using facebook connect, , has been working fine last month or so. underneath fb:login-button code fb:facepile. has worked expected until today, when instead of showing friend's pictures displays facebook homepage. here screenshot of problem http://i.stack.imgur.com/nzsbq.png
here relevant code. worked @ 1 time, i'm confused happened cause weird error. appreciated.
<div id="fb-root"></div> <script type="text/javascript"> window.fbasyncinit = function() { fb.init({appid: '<?php echo $appkey; ?>', status: true, cookie: true, xfbml: true}); /* events registered */ fb.event.subscribe('auth.login', function(response) { // response login(); }); fb.event.subscribe('auth.logout', function(response) { // response logout(); }); }; (function() { var e = document.createelement('script'); e.type = 'text/javascript'; e.src = document.location.protocol + '//connect.facebook.net/en_us/all.js'; e.async = true; document.getelementbyid('fb-root').appendchild(e); }()); function login(){ document.location.href = "<?php echo $base_url.'/facebook/'; ?>"; } function logout(){ document.location.href = "<?php echo $base_url.'/logout/'; ?>"; } </script>
i cannot copy 2 xfbml tags follow javascript. fb:login-button , fb:facepile
it reported bug seems nobody @ facebook care it. strange , disapointing such big web company.
http://forum.developers.facebook.net/viewtopic.php?id=90734
you can report bug upvoting @ follwoing webpage :
Comments
Post a Comment