Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No node specified #35

Closed
sardbaba opened this issue Oct 23, 2013 · 5 comments
Closed

No node specified #35

sardbaba opened this issue Oct 23, 2013 · 5 comments

Comments

@sardbaba
Copy link

Hi and thanks for this stuff! 👍

I'm trying to work with pagination but as your example is wrote, there is no specification about the node in which you want to know the "likes".
Indeed it returns:

{ error:
{ message: 'No node specified',
type: 'GraphMethodException',
code: 100
}
}

Any thought on that?

@criso
Copy link
Owner

criso commented Oct 23, 2013

Hmmm, I've never seen that. That's a FB error, which of course makes no sense.

@sardbaba
Copy link
Author

Yes, it's a FB error but when you write:

graph.get('likes', {limit: 2, access_token: "foobar"}, function(err, res) { ...

this "likes" is referred to what?

@criso
Copy link
Owner

criso commented Oct 23, 2013

that passes straight through to the facebook api. I don't know what "likes" is referring to.
You're basically doing:
https://graph.facebook.com/likes?limit=2....

@sardbaba
Copy link
Author

screenshot from 2013-10-23 17 43 44

@criso
Copy link
Owner

criso commented Oct 23, 2013

Exactly. This isn't a bug with module, you're making a wrong request.

@criso criso closed this as completed Oct 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants