2010-07-25 40 views

回答

0

如果你看看 stream.publish的例子,post_id与响应一起返回。

+0

感谢您的回答,但真的需要通过服务器端呼吁发布 – Donald 2010-07-25 02:22:07

+0

例如,一个PHP调用 – Donald 2010-07-25 02:23:56

0

从他们的FB.api docs看这个例子,这当然是可能的。

var body = 'Reading Connect JS documentation'; 
FB.api('/me/feed', 'post', { body: body }, function(response) { 
    if (!response || response.error) { 
     alert('Error occured'); 
    } else { 
     alert('Post ID: ' + response); 
    } 
}); 
相关问题