TikTok Scrapper – Videos & Music & Challenges Downloader

फ्रीमियम
द्वारा SocialScrapper | अपडेट किया गया hace un mes | Media
लोकप्रियता

9.8 / 10

लेटेंसी

1,660ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

How do I set the Max_Cursor value?

Rapid account: Rescriptedai
rescriptedai
hace un mes

When using the Feed by Username Endpoint, how do I set the Max_Cursor value? What does it do? What values does it accept? For reference, I used the value of 10 and it returns no values.

Rapid account: Social Scrapper
SocialScrapper Commented hace un mes

Hello, @rescriptedai!

max_cursor is a pagination key that’s returned in response to first request and allows iteration over content.
First request does not require max_value as you’d always get first page.

You can search for “API pagination” for references.

For example: if you want to get a feed from @nike TikTok account:

  1. First request will be only with username
  2. As a result you will get a max_cursor value. In this case it will be 1708441327000
  3. Use this value in your next request to get more data. Value of max_cursor also will be updated in the response
  4. Repeat to get more data

Hope this helps you 😃

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें