This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Description
I'm getting 429 error. I'm trying with proxy agent, but it's not working. Do you have a working example?
This is my current implementation.
import { ThreadsAPI } from 'threads-api';
import { HttpProxyAgent } from 'http-proxy-agent';
const proxyAgent = new HttpProxyAgent('http://2.56.119.93:5074');
const threadsAPI = new ThreadsAPI({
httpAgent: proxyAgent,
});
const userId = await threadsAPI.getUserIDfromUsername(username);