I just made a request to https://m.tiktok.com/api/challenge/item_list _without the _signature query string_ and it gave me proper results for the hashtag.
Exactly when does TikTok require the request signature generated by the sign()? What’s the point of sign()ing? Is it just to disguise the requests as normal (“not made by bots”) ones?
It was required a while ago, currently there is a different type of signature, but the point is to protect social network from mean developers like us :)
By “
sign
ing,” I mean this:https://github.com/drawrowfly/tiktok-scraper/blob/5224f5cdfc3842a99b77b382249b960d2c87791c/src/helpers/Signature.ts#L6-L28 https://github.com/drawrowfly/tiktok-scraper/blob/5224f5cdfc3842a99b77b382249b960d2c87791c/src/core/TikTok.ts#L919-L936
I just made a request to
https://m.tiktok.com/api/challenge/item_list
_without the_signature
query string_ and it gave me proper results for the hashtag.These were my query string (
URISearchParams
):Question
Exactly when does TikTok require the request signature generated by the
sign()
? What’s the point ofsign()
ing? Is it just to disguise the requests as normal (“not made by bots”) ones?