2011-04-16 65 views
1

我需要快速&簡單的提示。facebook facepile tip

我很想「應酬我的網站」一點點,所以我給看看Facebook的facepile社交插件的定義:

"[..] If the user does not have friends who have liked your page or have connected to your site, no faces will be shown.[..]" 

我在想,如果「連接」的意思只是「瀏覽我的網站」 ?

感謝

盧卡

回答

1

無連接意味着他們接受通過點擊「允許」按鈕,由FB-應用

+0

謝謝!事實證明,我所有的測試(閱讀:挫折)是因爲我想而不是 - 去圖:) – electblake 2011-10-14 05:50:04

1
promted窗口通過您的應用程序,與大家分享他們的Facebook數據

對於Facebook應用程序,您可以執行此操作。

<script> 
    function fbLoginStatus(response) { 
    if (response.status != 'unknown') { 
    $('.facebook_facepile').show(); // show your facepile iframe 
    } 
    } 
    window.fbAsyncInit = function() { 
    FB.init({appId: 'YOUR_APP_ID', status: true, cookie: true, xfbml: true}); 
    FB.getLoginStatus(fbLoginStatus); 
    FB.Event.subscribe('auth.statusChange', fbLoginStatus); 
    }; 
    (function() { 
    var e = document.createElement('script'); e.async = true; 
    e.src = document.location.protocol + 
     '//connect.facebook.net/en_US/all.js'; 
    document.getElementById('fb-root').appendChild(e); 
    }()); 
</script>