opensea-sales-twitter-bot icon indicating copy to clipboard operation
opensea-sales-twitter-bot copied to clipboard

Better tweet.js

Open kkayam opened this issue 2 years ago • 1 comments

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.

kkayam avatar Jul 24 '22 15:07 kkayam

Is anyone dealing with this?

kkayam avatar Aug 14 '22 07:08 kkayam

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.

dsgriffin avatar Nov 04 '22 17:11 dsgriffin