2012-02-01 67 views

回答

0

https://developers.facebook.com/docs/reference/javascript/

FB.ui(
    { 
    method: 'feed', 
    message: 'getting educated about Facebook Connect', 
    name: 'Connect', 
    caption: 'The Facebook Connect JavaScript SDK', 
     description: (
     'A small JavaScript library that allows you to harness ' + 
     'the power of Facebook, bringing the user\'s identity, ' + 
     'social graph and distribution power to your site.' 
    ), 
    link: 'http://www.fbrell.com/', 
    picture: 'http://www.fbrell.com/f8.jpg', 
    actions: [ 
     { name: 'fbrell', link: 'http://www.fbrell.com/' } 
    ], 
    user_message_prompt: 'Share your thoughts about RELL' 
    }, 
    function(response) { 
    if (response && response.post_id) { 
     alert('Post was published.'); 
    } else { 
     alert('Post was not published.'); 
    } 
    } 
); 
相关问题