criso / fbgraph

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

Cannot query users by their username (zuck) #98

Closed ButuzGOL closed 7 years ago

ButuzGOL commented 8 years ago

My code

graph.get('zuck', function(err, res) {
  console.log(res);
});

Result

{ error: 
   { message: '(#803) Cannot query users by their username (zuck)',
     type: 'OAuthException',
     code: 803,
     fbtrace_id: 'D5J+AHxkX7K' } }
criso commented 8 years ago

Yeah, there were changes to the facebook api on which they don't allow querying users by name anymore. And the readme hasn't been updated for more details see #79

mkantautas commented 5 years ago

We should get the readme fixed by now