This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
Releases: junhoyeo/threads-api
Releases · junhoyeo/threads-api
v1.4.5
v1.4.4 (✨ User Followers/Followings, 🛠️ Rewrite Post ID resolvers)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
Summary
- 💡 Thanks to @wack-overflow, we can now ✨ query user followers and followings!
- 🛠️ Post ID resolvers had been rewritten, thanks to @drunkleen's implementation in junhoyeo/threads-py#27.
- Now we don't send requests to the Threads Web App each time we need to resolve the Post ID — which also means the method is now static/synchronous.
- 🛠️ Fixed small bugs, Bump documentation, .etc.
What's Changed
- [api] user follow(ing/ers) w pagination + query by @wack-overflow in #158
- Updated README.md to fix issue with details block by @AayushGithub in #163
- [api] Statically get Post ID with base64 encoding by @junhoyeo in #166
- [api] Fix
deviceID
check in constructor by @junhoyeo in #168
Full Changelog: v1.4.2...v1.4.3
v1.4.2 (✨ Timeline/Feed, Quote, and Repost)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
Now we have...
- ✨ Queries for Timeline(Global)/Feed(User Threads/Replies)
- ✨ Added
quotedPostID
option topublish
method to quote Threads - ✨ Now you can create/remove reposts with
repost
andunrepost
What's Changed
- Add
thread-year-prog-bot
to projects and format .imgbotconfig by @SethuSenthil in #141 - User Feed Queries for Logged in Users - Pagination! by @wack-overflow in #150
- 🔏 Add support for .env config out of the box by @SethuSenthil in #151
- [api] Implement method to fetch timeline feed by @junhoyeo in #152
- [api] Add tests, refactor interface, and fix bugs in error handling by @junhoyeo in #153
- [api] Fix internal naming to match other convention (
Id
->ID
) by @junhoyeo in #154 - [api] Implement repost/unrepost by @junhoyeo in #156
- [api] Add
quotedPostID
option topublish
method by @junhoyeo in #159 - [docs] Update README.md by @junhoyeo in #160
Full Changelog: v1.4.1...v1.4.2
v1.4.1 (🤖 Login Retries with Exponential Backoff)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
Summary
- ✨ New option
maxRetries
— We can now try login retries up tomaxRetries
(default is1
) on an exponential backoff. - 🛠️ Few issues fixed and improvements made (header localization, wrong requirements check in
publish
, WebUI rewrite with App Dir)
What's Changed
- [Fix / Enhancement] Improve
accept-language
header handling by @SethuSenthil in #130 - Do not require username and pass if token is provided by @cedriking in #133
- Max retries by @cedriking in #135
- Rebuilt Threads Web UI using the app router of NextJS. closes #107 by @sudarshanmg in #116
- [web-ui] Make app dir to work as intended by @junhoyeo in #136
New Contributors
- @cedriking made their first contribution in #133
Full Changelog: v1.4.0...v1.4.1
v1.4.0 (🔐 Login with Encrypted Password)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
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) 👍
What's Changed
- [api] Login with encrypted password by @junhoyeo in #125
- [Chore] Updated Dynamic Data by @SethuSenthil in #127
- [api] Fix length check in
_destructureFromUserIDQuerier
by @junhoyeo in #128
Full Changelog: v1.3.2...v1.4.0
v1.3.2
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
What's Changed
- Added Screenshots and new Thread Count project by @AayushGithub in #105
- [api] added instagram as backup for getting userID by @yssf-io in #106
- feat: use mrmime instead of mime-types by @aleclarson in #109
- feat: allow inline image upload by @aleclarson in #110
Refactoring code for improved readability and optimization by @aminedjohar in #119- FIX: NextJS version mismatch in the dependency tree by @sudarshanmg in #112
Revert "Refactoring code for improved readability and optimization" by @junhoyeo in #120- [api] Refactor & update interface to not use
username
in query methods by @junhoyeo in #121
New Contributors
- @aleclarson made their first contribution in #109
- @aminedjohar made their first contribution in #119
- @sudarshanmg made their first contribution in #112
Full Changelog: v1.3.1...v1.3.2
v1.3.1 (✨ Delete)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
✨ You can now delete threads!
- 💎 Added method:
threadsAPI.delete(postID)
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 importfs
when it's used)
What's Changed
- [ImgBot] Optimize images by @imgbot in #86
- Use rimraf for cross environment dev by @wack-overflow in #92
- Post Deleting by @JamelHammoud in #93
- Updated README.md to add my project details by @AayushGithub in #84
- [api] reduce calls to getUserIDfromUsername by @yssf-io in #99
- [api] Import module
fs
right before it's used by @junhoyeo in #103 - [api] Fix publish tests to behave correctly by @junhoyeo in #102
- [api][docs] Fix nit & update docs for
delete
method by @junhoyeo in #104
New Contributors
- @wack-overflow made their first contribution in #92
- @AayushGithub made their first contribution in #84
Full Changelog: v1.3.0...v1.3.1
v1.3.0 (✨ Interactions)
Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
✨ 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
Full Changelog: v1.2.0...v1.3.0
v1.2.0 (✨ Post Rich Threads and Replies)
Threads API
Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
Summary
- ✨ Now supports publishing new Threads with images, link attachments (link previews), and posting replies! (The new
publish
API withThreadsAPIPublishOptions
)- The old-but-not-that-old
publish
API is deprecated, but still works for backwards compatibility
- The old-but-not-that-old
- ✨ Improved token parsing logic
- ✨ Now we cache & reuse bearer tokens by default
What's Changed
- [fix] Agent compatibility issues by @Digital39999 in #63
- Added Strings : Frontend for Threads using threads-api by @Nainish-Rai in #65
- [api] Publishing Thread with image by @Mineru98 in #62
- [api] Fix publishing with image by @junhoyeo in #66
- [api] Fix token parsing logic for greater reliability by @junhoyeo in #67
- Add option to pass in httpsAgent as an option for calling Axios by @0Xero7 in #64
- [api] test: skip auth-required tests if credentials not provided by @junhoyeo in #68
- [api] Make
theadsAPI.uploadImage
to use correct binary file by @junhoyeo in #72 - [api] Manage
token
state insideThreadsAPI
by @junhoyeo in #75 - [api] Implement new
publish
with options and backwards compatibility by @junhoyeo in #76 - [api] Implement
link
andreplyPostId
option ofpublish
by @junhoyeo in #78 - [api][docs] Rename:
replyPostId
->parentPostID
, Update README for newpublish
API by @junhoyeo in #79 - [docs] Fix typo:
link
->url
by @junhoyeo in #80 - [api][docs] Move README to
threads-api
and create symlink in root by @junhoyeo in #81
New Contributors
- @Nainish-Rai made their first contribution in #65
- @0Xero7 made their first contribution in #64
Full Changelog: v1.1.1...v1.2.0
v1.1.1
Threads API
Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.
What's Changed
- Fix: Change doc_id in the profile replies tab in the Threads app by @Mineru98 in #46
- [ImgBot] Optimize images by @imgbot in #49
- Dynamically calculate timezone offset based on user's timezone by @SethuSenthil in #50
- Add threads-card project by @yssf-io in #60
- [web-ui] Use
<Thread />
component fromreact-threads
by @junhoyeo in #59 - [Enhancement/Feature/Bug Fix] Dynamically fetch data, custom devices support, and Deno README installation fix by @SethuSenthil in #53
- [api] Fix minor styles by @junhoyeo in #61
Full Changelog: v1.1.0...v1.1.1