Closed ngethe closed 9 years ago
I got what i needed to know here https://github.com/criso/fbgraph/issues/54
Hey are you able to use the post? As in the example out of the box?
I am using node.js
app.post('/facebookpost', function(req, res){
// res.send('facebookpost page');
var wallPost = {
message: "I'm gonna come at you like a spider monkey, chip!"
};
graph.post("/feed", wallPost, function(err, result) {
// returns the post id
if(err){
console.log("Unable to post:", err);
res.send('Unsuccessful in posting to facebook');
}
else{
console.log(result); // { id: xxxxx}
res.send('You posted successfully to facebook!');
}
});
})
Gives me the error::
{ message: '(#200) Permissions error',
type: 'OAuthException',
code: 200 }
@nirvanagit This appear to be an issue with your permissions not approved by facebook.
https://developers.facebook.com/docs/apps/changelog https://developers.facebook.com/docs/apps/review
I have tried to use this to get the friends that are using the app. also tried Graph.get("v2.1/me/friends") but I get the same what could be the issue?
does this fbgraph have support for the version-ed fb graph?
Thanks