node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

fbRecursiveRequest

EXAMPLE

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)
})