Add pagination to the getSingleShelf() function. Pass it an object with userID (required) with an optional 'page' property. To get all books from a shelf, use a recursive function similar to the one at http://jordanhoff.com/post/23278707137/recursive-facebook-graphi-api-nodejs