Closed kkayam closed 2 years ago
Is anyone dealing with this?
hi, sorry about the delay - as i'm planning to do a larger rewrite in the near future, i'm not looking to make any lib/logic enhancements right now unless something actually breaks. feel free to fork with any enhancements, thanks again.
Hey,
I changed the library that the bot uses. Twit is old and depreciated. twitter-api-v2 has a lot of new features that twit does not have such as pagination. All functions remain the same, everything works almost the same - its just better now.
See more here: https://github.com/PLhery/node-twitter-api-v2
Package | API version(s) | Response typings | Media helpers | Pagination | Subdeps | Size (gzip) | Install size -- | -- | -- | -- | -- | -- | -- | -- twitter-api-v2 | v1.1, v2, labs | ✅ | ✅ | ✅ | 0 | ~23 kB | twit | v1.1 | ❌ | ✅ | ❌ | 51 | ~214.5 kB | twitter | v1.1 | ❌ | ❌ | ❌ | 50 | ~182.1 kB | twitter-lite | v1.1, v2 | ❌ | ❌ | ❌ | 4 | ~5.3 kB | twitter-v2 | v2 | ❌ | ❌ | ❌ | 7 | ~4.5 kB |I did it for my own library and why not share it.