Threads-api

Latest version: v1.2.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

1.3.1

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

✨ You can now delete threads!
- 💎 Added method: `threadsAPI.delete(postID)`
ts
const postID = await threadsAPI.publish({
text: '🤖 This message will self-destruct in 5 seconds.',
});

await new Promise((resolve) => setTimeout(resolve, 5_000));
await threadsAPI.delete(postID);

- 🔥 Few improvements to `publish` method (reduce username calls, only import `fs` when it's used)

What's Changed
* [ImgBot] Optimize images by imgbot in https://github.com/junhoyeo/threads-api/pull/86
* Use rimraf for cross environment dev by wack-overflow in https://github.com/junhoyeo/threads-api/pull/92
* Post Deleting by JamelHammoud in https://github.com/junhoyeo/threads-api/pull/93
* Updated README.md to add my project details by AayushGithub in https://github.com/junhoyeo/threads-api/pull/84
* [api] reduce calls to getUserIDfromUsername by yssf-io in https://github.com/junhoyeo/threads-api/pull/99
* [api] Import module `fs` right before it's used by junhoyeo in https://github.com/junhoyeo/threads-api/pull/103
* [api] Fix publish tests to behave correctly by junhoyeo in https://github.com/junhoyeo/threads-api/pull/102
* [api][docs] Fix nit & update docs for `delete` method by junhoyeo in https://github.com/junhoyeo/threads-api/pull/104

New Contributors
* wack-overflow made their first contribution in https://github.com/junhoyeo/threads-api/pull/92
* AayushGithub made their first contribution in https://github.com/junhoyeo/threads-api/pull/84

**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.3.0...v1.3.1

1.3.0

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

✨ Interactions(Like/Unlike & Follow/Unfollow) now shipped!
- 💎 Like/Unlike a post: `threadsAPI.like(postID)`, `threadsAPI.unlike(postID)`
- 💎 Follow/Unfollow a user: `threadsAPI.follow(userID)`, `threadsAPI.unfollow(userID)`
- 💡 Fetch User ID of current authenticated user: `getCurrentUserID`

What's Changed
* [api] Implement like/unlike & follow/unfollow by junhoyeo in https://github.com/junhoyeo/threads-api/pull/83


**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.2.0...v1.3.0

1.2.0

[<img src="./.github/logo.jpg" width="36" height="36" />](https://github.com/danie1) Threads API

Changelog
- [x] ✅Supporting Pydantic typing for API responses, so you no longer have to guess. New examples have been updated at `examples` directory.
- [x] ✅Improved README.

1.1.14

[<img src="./.github/logo.jpg" width="36" height="36" />](https://github.com/danie1) Threads API

Changelog
- [x] ✅Now supporting posting with multiple images (Aligned to https://github.com/junhoyeo/threads-api/releases/tag/v1.5.0), requested here: https://github.com/Danie1/threads-api/issues/42#issuecomment-1639935848
- [x] ✅Added `search_user`, `get_recommended_users` and `get_notifications`
- [x] ✅Added a few UT, for starters

1.1.13

[<img src="./.github/logo.jpg" width="36" height="36" />](https://github.com/danie1) Threads API

Changelog
- [x] ✅Improved error handling, and added more messages. It may advise to open an issue at times, including the response from Threads.
- [x] ✅Implemented private-api functionality of get_post() with pagination (similar to NPM version of threads-api) -> Solves https://github.com/Danie1/threads-api/issues/31
- [x] ✅Implemented repost/delete-repost functionality
- [x] ✅Implemented post that quotes another post
- [x] ✅Fixed this issue: https://github.com/Danie1/threads-api/issues/50
- [x] ✅Fixed this issue: https://github.com/Danie1/threads-api/issues/42
- [x] ✅Fixed this issue: https://github.com/Danie1/threads-api/issues/49
- [x] ✅Addressed these issues, so at the very least it will be easier to troubleshoot (they may have been solved entirely): https://github.com/Danie1/threads-api/issues/43 , https://github.com/Danie1/threads-api/issues/51 , https://github.com/Danie1/threads-api/issues/40 , https://github.com/Danie1/threads-api/issues/32 , https://github.com/Danie1/threads-api/issues/27 -> Please re-open if they have not been fixed by this (include the additional info printed).

1.1.12

[<img src="./.github/logo.jpg" width="36" height="36" />](https://github.com/danie1) Threads API

Changelog
- [x] ✅A .session.json file will be created by-default to save default settings (to reduce risk of being flagged). You can disable it by passing ThreadsAPI(settings_path=None) / or customize its path in a similar way.
- [x] ✅ Fixed this issue: https://github.com/Danie1/threads-api/issues/47

Page 3 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.