Update: The error that caused this problem has been resolved , so it’s best to use it <fb:login-button>, but change "perms" to "scope" to match the latest API changes:
<fb:login-button
scope="email, user_about_me, user_interests, user_location,
publish_stream, read_stream, offline_access, publish_checkins">
Connect Facebooks
</fb:login-button>
:
<fb:login-button>, , ( ) , FB.login() . , - :
<a id="fb_login_button" href="#"
onclick="FB.login(function(){ /* this is a callback function */ },
{scope: 'email, user_about_me, user_interests, user_location,
publish_stream, read_stream, offline_access, publish_checkins'});
return false;">
<img src="LOGIN_BUTTON_IMAGE.png" alt="Log In with Facebook">
</a>
( , <fb:login-button>).
( : inline onclick , , , )