0

我知道如何通过图形 api 发布到页面墙/评论/喜欢。作为我以这种方式使用的帖子示例 -

 FB.login(function(response) {
   if (response.status=='connected') {
     if (response.authResponse.accessToken) 
     {
        var token = response.authResponse.accessToken; 
        FB.api('/'+Page_id+'/feed?access_token='+token+'&message='+message, 'POST', function(response) { ......rest of the codes.....

但是因为我是我的页面的管理员用户,所以它作为页面而不是作为我的管理员用户发布。当我发表评论时也以同样的方式发布,就像页面发布相同的行为一样。我搜索了一些尚未回答我的答案的帖子。我还发现它在这里报告了一个 fb 错误 -

https://developers.facebook.com/bugs/334877786593553/

但是对于该错误的 fb 响应不是解决方案!因此,除了 facebook 对话框(fb.ui)和对其进行研究之外的任何替代方法都非常感谢。

4

0 回答 0