:Facebook Opengraph özelleştirmek fb giriş butonu
<fb:login-button show-faces="true" max-rows="9" perms="email" autologoutlink="true" onlogin="window.location = 'http://www.example.com/facebook/facebook_test/'"></fb:login-button>
ama doc okurken ben http://developers.facebook.com/docs/reference/javascript/FB.login daha fazla seçenek gerekiyorsa elimden diyor ki: i fb düğme için başka bir görüntü gerekir ve ben başka şeyler gerekiyorsa, ben FB.login çağırabilir mi ait html hangi bölümünün de, ne kadar bulamazsa
FB.login(function(response) {
if (response.session) {
if (response.perms) {
// user is logged in and granted some permissions.
// perms is a comma separated list of granted permissions
} else {
// user is logged in, but did not grant any permissions
}
} else {
// user is not logged in
}
}, {perms:'read_stream,publish_stream,offline_access'});
ama, 'etiketleri arasında olduğu senaryo'?
Lütfen bugün başlamanızın OAuth2.0'ı etkinleştirmeniz gerektiğini unutmayın, FB bu tür girişleri devre dışı bırakıyor. Daha fazla bilgi için [This Facebook Blog Post] adresini ziyaret edin (https://developers.facebook.com/blog/post/525/) –
@RezaSanaie doğrudur. Yukarıdaki kodlar güncel değil. – Raptor
Yukarıdaki kod güncel değil ve fb'den kaçınmak istiyorsanız mükemmel bir şekilde çalışıyor: login-button –