Template source: facebook_auth/auth_btn.html

{% if not request.user.is_authenticated %} <fb:login-button scope="public_profile,email,publish_actions" onlogin="checkLoginState();" id="fb-login"> </fb:login-button> {% endif %}