criso / fbgraph

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

Fixes an issue when you pass an url directly. #34

Closed mweibel closed 10 years ago

mweibel commented 10 years ago

This is nice for example when you fetch og.likes with a next URL in the response which has already all the necessary fields in it. With this fix you're able to pass a fully constructed URL (so, in this case, it's merely a wrapper around request but it helps when you can use the same API).

mweibel commented 10 years ago

Ah, I see what you mean. Yes this does fix this indeed.

I added now a bit of documentation although I'm not particularly happy about it :/