Closed lukewendling closed 8 years ago
Anyone maintaining this? Seems there are stale open issues.
I tried several examples from the README with no luck. I'm using an authtoken created by an oauth lib. Some of the failures:
var graph = require('fbgraph'); graph.setAccessToken('...'); var searchOptions = { q: "brogramming" , type: "post" }; graph.search(searchOptions, function(err, res) { console.log(res); // {data: [{id: xxx, from: ...}, {id: xxx, from: ...}]} }); { error: { message: 'An unknown error has occurred.', type: 'OAuthException', code: 1 } }
For the username queries:
{ error: { message: '(#803) Cannot query users by their username (zuck)', type: 'OAuthException', code: 803 } }
Your first issue seems like you don't have a valid token.
second issue: https://github.com/criso/fbgraph/issues/79
Anyone maintaining this? Seems there are stale open issues.
I tried several examples from the README with no luck. I'm using an authtoken created by an oauth lib. Some of the failures:
For the username queries: