fbRecursiveRequest

recursive request to facebook graph api

var fbRecursiveRequest = require('fbRecursiveRequest')

var params = { pageId: 'yout_page_id' ,token: 'your_token_' ,method: 'posts' // 'likes' , 'videos, etch ... ' }

fbRecursiveRequest(params,function(response){ //persist the data console.log(response.data.length) })