TikTok Scrapper – Videos & Music & Challenges Downloader

פרמיום
על ידי SocialScrapper | מְעוּדכָּן vor einem Monat | Media
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

1,660ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

How do I set the Max_Cursor value?

Rapid account: Rescriptedai
rescriptedai
vor einem Monat

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 vor einem Monat

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 😃

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות