Forum Discussion

jameel_khan's avatar
15 years ago

Zero Messages in Thread when using pageNumber and pageSize :(

Hello Everybody,

 

 

I am stuck with a problem. let me explain. I am want to fetch threads in a specific board/forum and i want to fetch them in chunks ie 10 at a time, so when user decides to fetch more i fetch next 10 threads using following api call

 

http://community.lithium.com/restapi/vc/boards/id/video_cards/threads with following parameters

"page"="1" and "page"="2"

"page_size=10"

 

Everything works ok when above call executes for the first time. But when i use "page"="2" instead of "page"="1" i get an xml response with next 10 threads but unfortunately there are ZERO messages in it :( ie <linear></linear> tags are empty :( am i missing something ?