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

Releases: junhoyeo/threads-api

The End 👋

08 Sep 11:02
c4d37e3
Compare
Choose a tag to compare

Today, I received a cease and desist letter from Meta, asking me to take this project down.
Consequently, I decided to stop future development of this project and related ones:

Warning
As of September 8, 2023, the development of the "threads-api" project have been halted and discontinued due to communication received from Meta Platforms, Inc. (“Meta,” previously known as Facebook, Inc.). This repository, along with related projects threads-py and react-threads, has been archived and will no longer receive updates or maintenance. The previous documentation related to this project has been moved to PRESERVED.md as requested.

The "threads-api" was developed for educational and research purposes only. Based on the notification from Meta, it's clear that using or distributing the code might violate the terms of service of Meta Platforms, Inc. and its associated services, including but not limited to Instagram and Threads. Any actions or activities related to the material contained within this repository are solely the user's responsibility. The author and contributors of this repository do not support or condone any unethical or illegal activities.

C_D_Scraping

It was a wonderful journey, and thank you to everyone for being a part of it.
Look forward to seeing you in future projects!

🥹♥️

These are the final release notes I forgot to update:

What's Changed

New Contributors

Full Changelog: v1.6.3...the-end

v1.6.3 (🛠️ Fix bugs, Made Improvements)

27 Jul 09:46
Compare
Choose a tag to compare

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

What's Changed

Full Changelog: v1.6.2...v1.6.3

v1.6.2 (✨ Full User/Post Details, 🔇 Mute/Block, 🔔 Notif., 🔍 Search Users, 💎 Rec.)

24 Jul 15:53
Compare
Choose a tag to compare

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

Summary

  • Thanks to @stevenlafl, we got a bunch of methods added in this release 🚀
  • Full User Profile & Thread(Post) Details with AuthorizationgetUserProfileLoggedIn and getThreadsLoggedIn.
  • 🔇 Mute/Unmute a user or a user's post — mute and unmute with userID (required, thanks to @aleclarson) and postID (optional)
  • 🔇 Block/Unblock a user — block and unblock
  • 🔔 Notifications — (fetch) getNotifications, (update view state) setNotificationsSeen
    let data = await threadsAPI.getNotifications(
      ThreadsAPI.NotificationFilter.MENTIONS, // {MENTIONS, REPLIES, VERIFIED}
    );
    
    if (!data.is_last_page) {
      const cursor = data.next_max_id;
      data = await threadsAPI.getNotifications(ThreadsAPI.NotificationFilter.MENTIONS, cursor);
    }
  • 🔍 Search UserssearchUsers
  • 💎 Fetch Recommended UsersgetRecommendedUsers

What's Changed

New Contributors

Full Changelog: v1.5.4...v1.6.2

v1.5.4 (🛠️ Bug Fixes)

22 Jul 03:57
Compare
Choose a tag to compare

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

What's Changed

New Contributors

Full Changelog: v1.5.3...v1.5.4

v1.5.3 (🛠️ Fix method getToken to properly return User ID)

20 Jul 06:35
Compare
Choose a tag to compare

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

Summary

  • 🛠️ Fix getToken to properly return userID
  • 🛠️ Rename Internal Method: _getProfilePage -> _getCleanedProfileHTML

What's Changed

Full Changelog: v1.5.2...v1.5.3

v1.5.2 (🛠️ Bug Fixes)

19 Jul 19:53
Compare
Choose a tag to compare

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

What's Changed

  • add httpAgent/httpsAgent at syncLoginExperiments for proxy auth by @enggaraziz in #210
  • Update and rename getToken.test.ts to getTokenWithProxy.test.ts by @enggaraziz in #203
  • fix: methods failing because of token or headers by @Aerglonus in #216
  • api(package): Update repository, Move @swc/cli and @swc/core to devDependencies by @junhoyeo in #219

New Contributors

Full Changelog: v1.5.1...v1.5.2

v1.5.1 (🛠️ Bug Fixes)

18 Jul 08:24
Compare
Choose a tag to compare

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

Summary

  • 🛠️ Fix broken type import (TypeScript)
  • 🛠️ Use this.httpAgent/this.httpsAgent in login

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0 (✨ Threads with Sidecar (Multiple Images))

18 Jul 05:40
Compare
Choose a tag to compare

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

Summary

await threadsAPI.publish({
  text: '🤖 Threads with Sidecar',
  attachment: {
    sidecar: [
      'https://raw.githubusercontent.com/junhoyeo/threads-api/main/threads-web-ui/app/opengraph-image.jpg?v=2',
      'https://github.com/junhoyeo/threads-api/raw/main/.github/cover.jpg',
    ],
  },
});
  • ✨ We now support Sidecar Attachments! This means you can now upload multiple images, which is shown as a carousel in your threads.
  • The publish method's interface has been changed once again! url and image options have been deprecated and replaced with a single attachment option which can be { url }, { image }, or { sidecar }. This is more restrictive as Threads only permit a single rich attachment in the first place.
    • 🛠️ Also, upload IDs will never collide in uploadImage. 🎉
  • ThreadAPI related types had been refactored into namespace ThreadsAPI. (See #198)
  • 📌 Note: we still have full backward compatibility with the previous version!

What's Changed

  • [web-ui] Workaround for overflow: hidden + border-radius bug in Safari by @junhoyeo in #193
  • [root] Fix .prettierrc to work inside VSCode by @junhoyeo in #194
  • web-ui(landing): Revalidate stargazers count every 60 seconds, Add missing link by @junhoyeo in #195
  • web-ui(apps): Initialize App Registry by @junhoyeo in #196
  • [web-ui] Add favicons by @junhoyeo in #197
  • web-ui(apps): Show community-made apps in App Registry by @junhoyeo in #199
  • web-ui(landing): Add opengraph image by @junhoyeo in #200
  • feat: add attachment.sidecar publish option by @aleclarson in #198
  • docs: Update README.md by @junhoyeo in #202

Full Changelog: v1.4.7...v1.5.0

v1.4.7 (🛠️ Bug Fixes)

17 Jul 18:04
Compare
Choose a tag to compare

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

What's Changed

Full Changelog: v1.4.6...v1.4.7

v1.4.6 (✨ Reply Control, 🛠️ Bug Fixes)

17 Jul 10:45
Compare
Choose a tag to compare

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

What's Changed

New Contributors

Full Changelog: v1.4.5...v1.4.6