Threads-py

Latest version: v0.0.9

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

Scan your dependencies

Page 2 of 5

1.4.0

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

Summary
- This release fix issues that was caused by the recent Threads' Auth Changes today.
- Special Thanks to francistogram, aldinp16, onesyah05, ishaanbedi, LilaRest,
vietduc030496, sudarshanmg, yekayee, Aerglonus, yssf-io and SethuSenthil, who helped me research & fix the issue. (Also thanks to dilame who built the [dilame/instagram-private-api](https://github.com/dilame/instagram-private-api)) 👍

What's Changed
* [api] Login with encrypted password by junhoyeo in https://github.com/junhoyeo/threads-api/pull/125
* [Chore] Updated Dynamic Data by SethuSenthil in https://github.com/junhoyeo/threads-api/pull/127
* [api] Fix length check in `_destructureFromUserIDQuerier` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/128


**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.3.2...v1.4.0

1.3.2

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

What's Changed
* Added Screenshots and new Thread Count project by AayushGithub in https://github.com/junhoyeo/threads-api/pull/105
* [api] added instagram as backup for getting userID by yssf-io in https://github.com/junhoyeo/threads-api/pull/106
* feat: use mrmime instead of mime-types by aleclarson in https://github.com/junhoyeo/threads-api/pull/109
* feat: allow inline image upload by aleclarson in https://github.com/junhoyeo/threads-api/pull/110
* ~~Refactoring code for improved readability and optimization by aminedjohar in https://github.com/junhoyeo/threads-api/pull/119~~
* FIX: NextJS version mismatch in the dependency tree by sudarshanmg in https://github.com/junhoyeo/threads-api/pull/112
* ~~Revert "Refactoring code for improved readability and optimization" by junhoyeo in https://github.com/junhoyeo/threads-api/pull/120~~
* [api] Refactor & update interface to not use `username` in query methods by junhoyeo in https://github.com/junhoyeo/threads-api/pull/121

New Contributors
* aleclarson made their first contribution in https://github.com/junhoyeo/threads-api/pull/109
* aminedjohar made their first contribution in https://github.com/junhoyeo/threads-api/pull/119
* sudarshanmg made their first contribution in https://github.com/junhoyeo/threads-api/pull/112

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

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="https://github.com/junhoyeo/threads-api/raw/main/.github/logo.jpg" width="24" height="24" />](https://github.com/junhoyeo/threads-api) Threads API
> Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

Summary
- _**✨ Now supports publishing new Threads with images, link attachments (link previews), and posting replies! (The new `publish` API with `ThreadsAPIPublishOptions`)**_
- The old-but-not-that-old `publish` API is deprecated, but still works for backwards compatibility
- ✨ Improved token parsing logic
- ✨ Now we cache & reuse bearer tokens by default

<p align="center">
<a href="https://www.threads.net/t/CugF-EjhQ3r">
<img src="https://github.com/junhoyeo/threads-api/raw/main/.github/rich-threads.png" alt="Writing Text Threads" width="400px" />
</a>
</p>

What's Changed
* [fix] Agent compatibility issues by Digital39999 in https://github.com/junhoyeo/threads-api/pull/63
* Added Strings : Frontend for Threads using threads-api by Nainish-Rai in https://github.com/junhoyeo/threads-api/pull/65
* [api] Publishing Thread with image by Mineru98 in https://github.com/junhoyeo/threads-api/pull/62
* [api] Fix publishing with image by junhoyeo in https://github.com/junhoyeo/threads-api/pull/66
* [api] Fix token parsing logic for greater reliability by junhoyeo in https://github.com/junhoyeo/threads-api/pull/67
* Add option to pass in httpsAgent as an option for calling Axios by 0Xero7 in https://github.com/junhoyeo/threads-api/pull/64
* [api] test: skip auth-required tests if credentials not provided by junhoyeo in https://github.com/junhoyeo/threads-api/pull/68
* [api] Make `theadsAPI.uploadImage` to use correct binary file by junhoyeo in https://github.com/junhoyeo/threads-api/pull/72
* [api] Manage `token` state inside `ThreadsAPI` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/75
* [api] Implement new `publish` with options and backwards compatibility by junhoyeo in https://github.com/junhoyeo/threads-api/pull/76
* [api] Implement `link` and `replyPostId` option of `publish` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/78
* [api][docs] Rename: `replyPostId` -> `parentPostID`, Update README for new `publish` API by junhoyeo in https://github.com/junhoyeo/threads-api/pull/79
* [docs] Fix typo: `link` -> `url` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/80
* [api][docs] Move README to `threads-api` and create symlink in root by junhoyeo in https://github.com/junhoyeo/threads-api/pull/81

New Contributors
* Nainish-Rai made their first contribution in https://github.com/junhoyeo/threads-api/pull/65
* 0Xero7 made their first contribution in https://github.com/junhoyeo/threads-api/pull/64

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

1.1.1

[<img src="https://github.com/junhoyeo/threads-api/raw/main/.github/logo.jpg" width="24" height="24" />](https://github.com/junhoyeo/threads-api) Threads API
> Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

What's Changed
* Fix: Change doc_id in the profile replies tab in the Threads app by Mineru98 in https://github.com/junhoyeo/threads-api/pull/46
* [ImgBot] Optimize images by imgbot in https://github.com/junhoyeo/threads-api/pull/49
* Dynamically calculate timezone offset based on user's timezone by SethuSenthil in https://github.com/junhoyeo/threads-api/pull/50
* Add threads-card project by yssf-io in https://github.com/junhoyeo/threads-api/pull/60
* [web-ui] Use `<Thread />` component from `react-threads` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/59
* [Enhancement/Feature/Bug Fix] Dynamically fetch data, custom devices support, and Deno README installation fix by SethuSenthil in https://github.com/junhoyeo/threads-api/pull/53
* [api] Fix minor styles by junhoyeo in https://github.com/junhoyeo/threads-api/pull/61


**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.1.0...v1.1.1

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.