HarshCasper / Rotten-Scripts

Scripts that will make you go WOW!
MIT License
1.46k stars 491 forks source link

(feature): Converting Twitter_Unfollowers script to Npm Package #1336

Open Jagrutiti opened 2 years ago

Jagrutiti commented 2 years ago

Description

Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.

Fixes #1327

Type of change

Please delete options that are not relevant.

Checklist:

ghost commented 2 years ago

CodeSee Review Map:

Review these changes using an interactive CodeSee Map

Review in an interactive map

View more CodeSee Maps

Legend

CodeSee Map Legend

Jagrutiti commented 2 years ago

Hi @HarshCasper the package is published here.

Changes I would like to propose:

  1. Not sure how the bearer-key should be added. Maybe prompt users as we prompt them to enter their username. Any suggestions would be helpful here.
  2. Add new keywords in package.json. For now, I have added only twitter.

When we import the package after installing, it asks for dependency to be met:

  1. prompt-sync
  2. needle

I will add them in package.json.

Will release a minor version once all the changes are finalized.

HarshCasper commented 2 years ago

Hi @Jagrutiti

We can prompt them in the same way when we ask them to enter their username. We can also ask them to export the API keys as TWITTER_BEARER_KEY before using the package. Let me know if that sounds helpful!

You can add keywords like unfollower, twitter-api, twitter-utility as well.

Jagrutiti commented 2 years ago

Hi @HarshCasper. Published 1.0.1 version of the package.