v1.6.2
版本发布时间: 2023-07-24 23:53:37
junhoyeo/threads-api最新发布版本:the-end(2023-09-08 19:02:01)
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
andgetThreadsLoggedIn
. - 🔇 Mute/Unmute a user or a user's post —
mute
andunmute
withuserID
(required, thanks to @aleclarson) andpostID
(optional) - 🔇 Block/Unblock a user —
block
andunblock
- 🔔 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
- Add an app to the registry by @swarajbachu in https://github.com/junhoyeo/threads-api/pull/243
- Add App by @Digital39999 in https://github.com/junhoyeo/threads-api/pull/242
- Add a slew of authenticated features by @stevenlafl in https://github.com/junhoyeo/threads-api/pull/189
- [ImgBot] Optimize images by @imgbot in https://github.com/junhoyeo/threads-api/pull/263
- api, docs: Refactor API, Update README.md with new methods by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/277
- api: Fix verbose logs and
ThreadsAPIError
messages by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/279 - api, docs: rename
getRecommended
->getRecommendedUsers
by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/280
New Contributors
- @swarajbachu made their first contribution in https://github.com/junhoyeo/threads-api/pull/243
- @stevenlafl made their first contribution in https://github.com/junhoyeo/threads-api/pull/189
Full Changelog: https://github.com/junhoyeo/threads-api/compare/v1.5.4...v1.6.2