Closed kicks66 closed 3 years ago
What version of Node are you using?
An alternative:
const TikTokAPI = require('tiktok-api');
const params = TikTokAPI.getRequestParams({...});
const api = new TikTokAPI.default(params, { signURL });
Closing as this project is no longer maintained.
I'm using the default setup mention in the docs:
import TikTokAPI, { getRequestParams } from 'tiktok-api';
With necessary parameters in. However I am getting the following error:
I tried a solution on here to change the first line to
import { TikTokAPI, getRequestParams } from 'tiktok-api';
and receiving the following error: