通过图形API将文档发布或更新到Facebook组 [英] Post or update a document to a facebook group via graph api

查看:86
本文介绍了通过图形API将文档发布或更新到Facebook组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试发布/编辑一个文件到Facebook的群组成功。如下所述:此处的示例

I try to post/edit a document to a facebook group with out success. Like described here: Example here

我使用以下代码来发布文档:

I use the following code to post the document:

var doc = {
    subject: 'My subject',
    message: 'My Message'
};

FB.api(groupId + '/docs', 'post', doc, function (response) {
    if (response && !response.error) {
        alert('success');
    } else {
        alert('failed');
    }
});

错误结果:

{
  "error": {
    "message": "(#3) Unknown method",
    "type": "OAuthException",
    "code": 3
  }
}

任何人都可以指导我在右边方向。或者是通过图形API不能/不再可用的功能

Could anyone guide me in the right direction. Or is this feature not/no longer available via the graph API

推荐答案

这是我自己的问题的答案:
它看起来像现在是不可能的。 FB更新他们的图API参考,无法发布,删除并更新组文档。

Here is the answer to my own question: It looky like it is not possible now. FB update theirs Graph API Reference and it is not possible to publish, delete and update a group document.

这篇关于通过图形API将文档发布或更新到Facebook组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆