This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
how to use account login on VPS. When I use it locally it works fine. Still this code I run on vps but it doesn't work. reuqest 429. #302
Labels
how to use account login on VPS. When I use it locally it works fine.
Still this code I run on vps but it doesn't work. reuqest 429.
import pkgThreads from 'threads-api';
const { ThreadsAPI } = pkgThreads;
(async() => {
try {
const threadsAPI = new ThreadsAPI({
username: '', // Your username
password: '', // Your password
});
const username = '_junhoyeo';
const userID = await threadsAPI.getUserIDfromUsername(username);
if (!userID) {
return;
}
console.log(userID);
} catch (error) {
console.log(error.stack);
}
})();
The text was updated successfully, but these errors were encountered: