2013-08-17 87 views
0

當有人點擊在我的網站的按鈕在Facebook上分享一些文字,我能夠通過分享一些內容給Facebook這樣的:如何在Twitter上分享喜歡使用Facebook的JavaScript SDK

FB.ui(
{ 
    method: 'feed', 
    name: 'Facebook Dialogs', 
    link: 'https://developers.facebook.com/docs/reference/dialogs/', 
    picture: 'http://fbrell.com/f8.jpg', 
    caption: 'Reference Documentation', 
    description: 'Dialogs provide a simple, consistent interface for applications to interface with users.' 
}, 
function(response) { 
    if (response && response.post_id) { 
    alert('Post was published.'); 
    } else { 
    alert('Post was not published.'); 
    } 
} 
); 

有什麼相似到推特Twitter的一些內容。

回答

相關問題