2012-07-20 43 views
0

嗨,任何人都可以請告訴我如何發佈mailto:在facebook牆上。我從git.But下載了Facebook SDK。我無法發佈mailTo.this是sdk:https:// github.com/davejohnson/phonegap-plugin-facebook-connect/MailTo在Facebook牆上的鏈接(phonegap)

這是使用的代碼IM:

FB.ui({ 
    method: 'feed', 
    name: 'I\'m using the Hackbook web app', 
    caption: 'Hackbook for Mobile Web.', 
    description: 'Check out Hackbook .', 
     link: '<html><body><a href="mailto:[email protected]"/></body></html>', 
    picture: 'http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png', 
    actions: [{ name: 'Click Here', link: 'http://apps.facebook.com/mobile-start/' }], 
    }, 
    function(response) { 
    console.log('publishStory UI response: ', response); 
    }); 
} 

回答

0
link: '<html><body><a href="mailto:[email protected]"/></body></html>' 

這不是一個link參數,如Facebook EXP它會影響它 - 它期望一個HTTP(S)URL。

我知道沒有辦法直接鏈接到電子郵件地址。所以你最好的辦法就是把你的電子郵件寫進信息中,我會說。

0

請記住,從公司的觀點來看,每當人們在Facebook之外互相交流時,這代表了可銷售用戶數據的丟失。出於這個原因,Facebook非常努力地阻止Facebook以外的通信,並且禁用郵件和帖子中的mailto鏈接是這項工作的一部分。

相關問題