criso / fbgraph

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

Pass res from get request to render #137

Closed omurilo closed 6 years ago

omurilo commented 6 years ago

It can be very stupid, but ...

I'm trying to implement this lib with use of express and ejs. However, I can not pass the result of my call graph.get () to my interface. I can only read the value of graph.get () with console.log (res) in:

graph.get ("me / accounts? fields = connected_instagram_account", function (err, res) { console.log (res) });