v1.3.1
版本发布时间: 2023-07-11 23:55:43
junhoyeo/threads-api最新发布版本:the-end(2023-09-08 19:02:01)
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 https://github.com/junhoyeo/threads-api/pull/86
- Use rimraf for cross environment dev by @wack-overflow in https://github.com/junhoyeo/threads-api/pull/92
- Post Deleting by @JamelHammoud in https://github.com/junhoyeo/threads-api/pull/93
- Updated README.md to add my project details by @AayushGithub in https://github.com/junhoyeo/threads-api/pull/84
- [api] reduce calls to getUserIDfromUsername by @yssf-io in https://github.com/junhoyeo/threads-api/pull/99
- [api] Import module
fs
right before it's used by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/103 - [api] Fix publish tests to behave correctly by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/102
- [api][docs] Fix nit & update docs for
delete
method by @junhoyeo in https://github.com/junhoyeo/threads-api/pull/104
New Contributors
- @wack-overflow made their first contribution in https://github.com/junhoyeo/threads-api/pull/92
- @AayushGithub made their first contribution in https://github.com/junhoyeo/threads-api/pull/84
Full Changelog: https://github.com/junhoyeo/threads-api/compare/v1.3.0...v1.3.1