szdc / tiktok-api

Unofficial API wrapper for TikTok
MIT License
1.26k stars 279 forks source link

Uncaught TypeError: axios_cookiejar_support_1.default is not a function at new TikTokAPI #192

Closed vkudymov closed 3 years ago

vkudymov commented 3 years ago

At startup const signURL = async (url, ts, deviceId) => { const as = 'anti-spam parameter 1'; const cp = 'anti-spam parameter 2' const mas = 'anti-spam parameter 3'; return $ {url} & as = $ {as} & cp = $ {cp} & mas = $ {mas}; } const params = getRequestParams ({ device_id: '', fp: '', iid: '', openudid: '', });

 const api = new TikTokAPI (params, {signURL});

An error Uncaught TypeError: axios_cookiejar_support_1.default is not a function at new TikTokAPI

How can you win?

Additional context Add any other context about the problem here.

szdc commented 3 years ago

Closing as this project is no longer maintained.