I didn\'t find any help on this topic. The Docs say
Cursor-based pagination is the most efficient method of paging and should always be used where possibl
Do not reinvent the wheel.
GraphResponse class already has a convenient method for paging. GraphResponse.getRequestForPagedResults()
returns GraphRequest
object, and you can use that object for paging.
Also I found code snippet from facebook-android-sdk's unit test code.
GraphRequest nextRequest = response.getRequestForPagedResults(GraphResponse.PagingDirection.NEXT);
nextRequest.setCallback(request.getCallback());
response = nextRequest.executeAndWait();