SO APPARENTLY, I WROTE THIS BOT AS MY FIRST PROJECT FOR #100DaysOfProjects AND THE "HASHTAG OWNERS" REPORTED THE ACCOUNT FOR IMPERSONATION AND THAT I AM USING IT FOR EVIL AND DANGEROUS PURPOSES. I WAS REALLY SAD YOU KNOW, I SPENT TIME ON IT AND ALL OF A SUDDEN BOOM!. AS OF THIS WRITING, THE ACCOUNT HAS BEEN SUSPENDED INDEFINETLY AND IT IS NOT ACTIVE ANY MORE. THANK YOU TO ALL THE 8 FOLLOWERS OF THE ACCOUNT.
Helping developers who participate in #100DaysOfProjects to engage on Twitter.
This bot manipulates tweets and streams by connecting to the
Twitter API via the twit
npm package. Please refer to the twit
documentation to make substantial
changes.
You can help by:
- Solving existing issues
- Adding more functionalities to the bot (see issues)
- Pointing out bugs/errors
For any of the above, please create an issue so that it can be addressed. New to GitHub issues? You can familiarize yourself with them using GitHub's guide.
- You will need your own Twitter account for testing, since the bot tweets from this account. Generate your Twitter API keys by creating a new app.
- Fork this repository.
- Create an
.env
file and add in your API keys and Twitter handle, like so:
TWITTER_CONSUMER_KEY=xxxxxxxxxxxxxxxxxxxxdMhxg
TWITTER_CONSUMER_SECRET=xxxxxxxxxxxxxxxxxxxxkFNNj1H107PFv1mvWwEM6CZH0fjymV
TWITTER_ACCESS_TOKEN=xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxecKpi90bFhdsGG2N7iII
TWITTER_ACCESS_TOKEN_SECRET=xxxxxxxxxxxxxxxxxxxxZAU8wNKAPU8Qz2c0PhOo43cG
- Change any hashtags to
#someTestHashtag
to avoid spamming the community hashtag. - Run
npm/yarn test
to check all keys are available before you start. 👍 - Make your suggested change.
- Ensure code style follows existing code (run
npm run format
to apply preferred formatting). - Create a pull request.