mardi 4 mars 2014

Post or update a document to a facebook group via graph api


Vote count:

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



asked 22 secs ago






Aucun commentaire:

Enregistrer un commentaire