Amit Rampurkar wrote:
It breaks at the following function and says FB is undefined:
FB.ensureInit(function() {FB.Connect.ifUserConnected(function() { $('#nav_logout a').attr('href', '#');$('#nav_logout a').click(function() { FB.Connect.logoutAndRedirect('http://www.sitename.com/main/logout' <http://www.sitename.com/main/logout'>); return false;})},function() {return false;}); }); /*]]>*/<

Please help! Thanks.

It sounds like the Facebook XML namespace and JavaScript stuff isn't loading. When you view source do you see it? i.e:

    xmlns:fb="http://www.facebook.com/2008/fbml";

and

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php";> </script>

Zach

--
Zach Copley
[email protected] - http://identi.ca/zach
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to