criso / fbgraph

NodeJs module to access the facebook graph api
http://criso.github.io/fbgraph/
1.09k stars 176 forks source link

Graph.get("/me/friends") returns Zere friend while I have demo and testers user #71

Closed ngethe closed 9 years ago

ngethe commented 9 years ago

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

ngethe commented 9 years ago

I got what i needed to know here https://github.com/criso/fbgraph/issues/54

nirvanagit commented 9 years ago

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 }
ngethe commented 9 years ago

@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