P
P
pashamaladec2022-03-26 01:38:11
API
pashamaladec, 2022-03-26 01:38:11

How to get direct links to liked videos on tiktok?

Hello, I want to get links like this

https://v16-webapp.tiktok.com/c2cc6ae1e076fabfd9bdaf09ff02a19e/623e95df/video/tos/alisg/tos-alisg-pve-0037c001/ba14416bae9a4cabba9cf29ab7a9f517/?a=1988&br=3216&bt=1608&cd=0%7C0%7C1%7C0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&ft=XOQ9-3Fenz7ThU9RJDXq&l=202203252225390102450151530C750B63&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&qs=0&rc=MzM7ZDY6ZmRvOjMzODczNEApaDo5MzVmNTxlNzw1PGg8Z2c2bWowcjRfZHFgLS1kMS1zc2FeNTQzMV8xYl5iYV5eYC46Yw%3D%3D&vl=&vr=

I pulled out a request to the tiktok api https://t.tiktok.com/api/favorite/item_list/ in the developer console + a bunch of parameters.
Query parameters in developer console
kV6PCFj.png

I want to receive in response a json with likened videos, like this:
Screen johnski
oTXBu5f.png

I send with parameters (not all on the screen):
Screen
KJSwl7j.png

But I get an error with code 10000. I suspect that it is because of the verifyFp parameter or because of cookies:
Response from the server
{
  "code": "10000",
  "from": "",
  "type": "verify",
  "version": "",
  "region": "sg",
  "subtype": "slide",
  "detail": "R3x2aiM6Aw-i9z6jWQqm4n5lPeLHEWy-SNYekDdxppkEvUYyjEvJU6e-9SxwrABTqaIisvlMPP6emyIuiptjefihLVNEi1rHtUwGFdIUqSzFjra1crXCITHI1WjOp3TVzeIrPWuQhFY644YiFvzDIgATudYKuGVNX0qD-UtTwTPG5EnP3H2J5kscLzFTlP1qN37A-RZszM9D6vGih53WSs084JpzcbOCkj0sbPChMEOa9geX-NnMg0nRDdcs94NdS1qw5kdGab8hx4kfNGBUrvWPXUVYVPvp4r6enfrhgVqWekkBe7QfHZxwO-iH01wza*K5R7I05B47X738LdKlXWoJi5BkrZfJmABMwOwjCgMs2uh8YXS9SqUy3W2Q8YpSDJYrAD37LTdhYPnmLmdrh6zwCOoFRrficR097H6QmvhP",
  "verify_event": "",
  "fp": "verify_5f1d1377d4a3a95944fb8e93",
  "scene": "",
  "verify_ticket": "",
  "channel_mobile": "",
  "sms_content": "",
  "mobile": "",
  "email": ""
}

It failed once, tried to reproduce the same actions - it did not work. In general, the question is - what are these query parameters and where to get them from? How to get to this api or are there other, better ways?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question