TokApi - mobile version

Por Somjik | Actualizada לפני 3 ימים | Social

9.9 / 10



Nivel de servicio


Health Check


Volver a todas las conversaciones

Best Practices to Avoid Duplicates in Trending Feed Endpoint

Rapid account: Johncarlojoyo
לפני חודש

Hi, I’m using the endpoint: /v1/feed/recommended to extract TikTok usernames and ids. My implementation is:

  1. on initial request pull_type is 0
  2. on subsequent requests pull_type is 2 (until 5)
  3. when i hit 5 requests I change pull_type to 8 for a reload

But with this setup I still get high percentage of bumping into duplicate users. Any suggestions?

Rapid account: Sonjik
Sonjik Commented לפני חודש

Hey 😃

Do you use x-device and x-cookie headers for subsequent requests?

You can find full example here:

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios