Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to implement pagination in HTTP client

I am trying to fetch data from facebook but could not able to fetch next page data using pagination. The data am getting includes next page link as a string but pagination supports list.How can i achieve this?

structure of the data: data: "id":"XXXXXXXXX" "message":"xxxxxxx" pagination: "next";"next_link_address" "before":"previous page address"

Here how can i use pagination to retrieve data using http client