TikTok Scrapper – Videos & Music & Challenges Downloader

FREEMIUM
Durch SocialScrapper | Aktualisiert hace 10 días | Social
Popularität

9.9 / 10

Latenz

2,117ms

Service Level

100%

Health Check

100%

Zurück zu allen Diskussionen

How do I set the Max_Cursor value?

Rapid account: Rescriptedai
rescriptedai
hace 2 meses

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 2 meses

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 😃

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen