TikTok Scrapper – Videos & Music & Challenges Downloader

FREEMIUM
От SocialScrapper | Обновлено 8 дней назад | Social
Популярность

9.9 / 10

Задержка

2,122ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

How do I set the Max_Cursor value?

Rapid account: Rescriptedai
rescriptedai
2 месяца назад

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 2 месяца назад

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 😃

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии