Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Releases: junhoyeo/threads-api

v1.4.5

16 Jul 05:04
6fddd56
Compare
Choose a tag to compare

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.

What's Changed

  • [docs] Fix typo in README.md, Update roadmap by @alllz in #171
  • [api] Move dotenv to dependencies by @junhoyeo in #178

New Contributors

Full Changelog: v1.4.4...v1.4.5

v1.4.4 (✨ User Followers/Followings, 🛠️ Rewrite Post ID resolvers)

15 Jul 07:36
Compare
Choose a tag to compare

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)

14 Jul 05:59
Compare
Choose a tag to compare

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 to publish method to quote Threads
  • Now you can create/remove reposts with repost and unrepost

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 to publish 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)

13 Jul 04:00
f8afde6
Compare
Choose a tag to compare

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.

Summary

  • ✨ New option maxRetries — We can now try login retries up to maxRetries (default is 1) 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

New Contributors

Full Changelog: v1.4.0...v1.4.1

v1.4.0 (🔐 Login with Encrypted Password)

12 Jul 19:34
Compare
Choose a tag to compare

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads.

Summary

What's Changed

Full Changelog: v1.3.2...v1.4.0

v1.3.2

12 Jul 13:24
Compare
Choose a tag to compare

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

Full Changelog: v1.3.1...v1.3.2

v1.3.1 (✨ Delete)

11 Jul 15:55
Compare
Choose a tag to compare

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 import fs 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)

10 Jul 07:52
Compare
Choose a tag to compare

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

  • [api] Implement like/unlike & follow/unfollow by @junhoyeo in #83

Full Changelog: v1.2.0...v1.3.0

v1.2.0 (✨ Post Rich Threads and Replies)

10 Jul 03:38
Compare
Choose a tag to compare

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 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

Writing Text Threads

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 inside ThreadsAPI by @junhoyeo in #75
  • [api] Implement new publish with options and backwards compatibility by @junhoyeo in #76
  • [api] Implement link and replyPostId option of publish by @junhoyeo in #78
  • [api][docs] Rename: replyPostId -> parentPostID, Update README for new publish 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

Full Changelog: v1.1.1...v1.2.0

v1.1.1

09 Jul 14:44
Compare
Choose a tag to compare

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 from react-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