In “get challenge post videos” I want to load more than the MAX of 35 videos. Is it possible with “cursor”? What is “cursor” stands for?
Thanks
Hello,
You can put the “cursor” value returned by the previous request into the parameters of the next request to get more content.
for example:
First request: "/challenge/posts?challenge_id=33380&count=35&cursor=0"
Response: {“code”:0,“msg”:“success”,“data”:{“videos”:[],“cursor”:20}}
next request: "/challenge/posts?challenge_id=33380&count=35&cursor=20"
Join in the discussion - add comment below:
Hello,
You can put the “cursor” value returned by the previous request into the parameters of the next request to get more content.
for example:
First request:
"/challenge/posts?challenge_id=33380&count=35&cursor=0"
Response:
{“code”:0,“msg”:“success”,“data”:{“videos”:[],“cursor”:20}}
next request:
"/challenge/posts?challenge_id=33380&count=35&cursor=20"