Open MsLolita opened 11 months ago
You can use proxy by passing it in method options like so:
const client = new ThreadsAPI();
client.getUserIDfromUsername('meta', {
proxy: {
host: string;
port: number;
auth?: {
username: string;
password: string;
};
protocol?: string;
}
});
You can use proxy by passing it in method options like so:
const client = new ThreadsAPI(); client.getUserIDfromUsername('meta', { proxy: { host: string; port: number; auth?: { username: string; password: string; }; protocol?: string; } });
I tried writing "socks5", "socks" or "sock" for the protocol. They all return protocol mismatch any idea why? Proxy I'm using is socks5.
I think it's just supposed to be http
or https
.
For example on python if there is no proxy options I can use such code:
to pass traffic of the entire application through a proxy. Is there any option to do it here?