0

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 result:

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

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

Community
  • 1
  • 1
homer_simpson
  • 193
  • 2
  • 6

1 Answers1

0

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.

homer_simpson
  • 193
  • 2
  • 6