I'm using Solspace's Facebook Connect addon to add Facebook login to a site, but I can't work out why my Facebook connect button is not showing while using the following template code:
{exp:fbc:login permissions="email|publish_stream|read_stream"
return_when_logged_in="site/home"
return_when_logged_out="site/home"
return_to_register="site/register"
return_on_failure="site/fail"
}
{if fbc_logged_out == "y"}
{fbc_login_button}
{/if}
{if fbc_logged_in == "y"}
<a href="{path='logout'}" class="btnConnectSmall" >Your connected</a>
{/if}
Can anyone explain what I'm doing wrong?