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

v1.6.2 (✨ Full User/Post Details, πŸ”‡ Mute/Block, πŸ”” Notif., πŸ” Search Users, πŸ’Ž Rec.)

Compare
Choose a tag to compare
@junhoyeo junhoyeo released this 24 Jul 15:53
· 14 commits to main since this release

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 Authorization β€” getUserProfileLoggedIn 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 Users β€” searchUsers
  • πŸ’Ž Fetch Recommended Users β€” getRecommendedUsers

What's Changed

New Contributors

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