Open massanishi opened 10 months ago
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);
Your proxy is ratelimited.
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.