junhoyeo / threads-api

Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads. Web UI Included.
https://threads.junho.io
MIT License
1.58k stars 134 forks source link

How to use token login? #229

Closed kostyaavdonin closed 11 months ago

kostyaavdonin commented 11 months ago

I don't understand how to log in to my account with a token...

Const threadsAPI = new ThreadsAPI({

Token: 'token...'

});

Like this? Or do you still need to transfer login data? Password and usernames

Aerglonus commented 11 months ago

pass it like this , no need of password or username if youre passing token and userid token: 'your token' userID: 'your userid'