Threads-api

Latest version: v1.2.0

Safety actively analyzes 626604 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.5.3

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

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

What's Changed
* web-ui: Add mobile responsiveness by junhoyeo in https://github.com/junhoyeo/threads-api/pull/221
* [ImgBot] Optimize images by imgbot in https://github.com/junhoyeo/threads-api/pull/222
* api(test): fix test for `getToken` to function correctly by junhoyeo in https://github.com/junhoyeo/threads-api/pull/225
* Fix: getToken not returning userID by Aerglonus in https://github.com/junhoyeo/threads-api/pull/223
* changed the name of `_getProfilePage` to `_getCleanedProfileHTML` by Aerglonus in https://github.com/junhoyeo/threads-api/pull/227


**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.5.2...v1.5.3

1.5.2

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

What's Changed
* add httpAgent/httpsAgent at syncLoginExperiments for proxy auth by enggaraziz in https://github.com/junhoyeo/threads-api/pull/210
* Update and rename getToken.test.ts to getTokenWithProxy.test.ts by enggaraziz in https://github.com/junhoyeo/threads-api/pull/203
* fix: methods failing because of token or headers by Aerglonus in https://github.com/junhoyeo/threads-api/pull/216
* api(package): Update `repository`, Move `swc/cli` and `swc/core` to `devDependencies` by junhoyeo in https://github.com/junhoyeo/threads-api/pull/219

New Contributors
* Aerglonus made their first contribution in https://github.com/junhoyeo/threads-api/pull/216

**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.5.1...v1.5.2

1.5.1

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

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

What's Changed
* fix: broken type import by aleclarson in https://github.com/junhoyeo/threads-api/pull/205
* add httpAgent/httpsAgent at login for proxy by enggaraziz in https://github.com/junhoyeo/threads-api/pull/204

New Contributors
* enggaraziz made their first contribution in https://github.com/junhoyeo/threads-api/pull/204

**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.5.0...v1.5.1

1.5.0

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

Summary
ts
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 https://github.com/junhoyeo/threads-api/pull/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 https://github.com/junhoyeo/threads-api/pull/193
* [root] Fix .prettierrc to work inside VSCode by junhoyeo in https://github.com/junhoyeo/threads-api/pull/194
* web-ui(landing): Revalidate stargazers count every 60 seconds, Add missing link by junhoyeo in https://github.com/junhoyeo/threads-api/pull/195
* web-ui(apps): Initialize App Registry by junhoyeo in https://github.com/junhoyeo/threads-api/pull/196
* [web-ui] Add favicons by junhoyeo in https://github.com/junhoyeo/threads-api/pull/197
* web-ui(apps): Show community-made apps in App Registry by junhoyeo in https://github.com/junhoyeo/threads-api/pull/199
* web-ui(landing): Add opengraph image by junhoyeo in https://github.com/junhoyeo/threads-api/pull/200
* feat: add `attachment.sidecar` publish option by aleclarson in https://github.com/junhoyeo/threads-api/pull/198
* docs: Update README.md by junhoyeo in https://github.com/junhoyeo/threads-api/pull/202


**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.4.7...v1.5.0

1.4.7

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

What's Changed
* postId from publish by cedriking in https://github.com/junhoyeo/threads-api/pull/192

**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.4.6...v1.4.7

1.4.6

Threads API - Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's [Threads](https://threads.net).

What's Changed
* [web-ui] Implement thread detail page by junhoyeo in https://github.com/junhoyeo/threads-api/pull/180
* feat: add `replyControl` option by aleclarson in https://github.com/junhoyeo/threads-api/pull/184
* Fix `mimeTypes` import (related to 177) by sooluh in https://github.com/junhoyeo/threads-api/pull/187
* fix: strip user ID from parentPostID and quotedPostID by aleclarson in https://github.com/junhoyeo/threads-api/pull/185
* [web-ui] Show stargazers count from the GitHub API in landing by junhoyeo in https://github.com/junhoyeo/threads-api/pull/190

New Contributors
* sooluh made their first contribution in https://github.com/junhoyeo/threads-api/pull/187

**Full Changelog**: https://github.com/junhoyeo/threads-api/compare/v1.4.5...v1.4.6

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.