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

Device ID not working on return #299

Closed heroaltman closed 10 months ago

heroaltman commented 10 months ago

Hey Thanks for the great work Jun

I think it would increase the API's Usability if there were a way also to get access to the device id that threads-api generates automatically if no deviceId is Provided

Thanks for this API It is really amazing

junhoyeo commented 10 months ago

I think threadsAPI.deviceID will work!

https://github.com/junhoyeo/threads-api/blob/9be2fc2d8f2315bfc68bc3f40f7a41879ee376e1/threads-api/src/threads-api.ts#L330