Helping developers who participate in #100DaysOfCode to engage on Twitter.
Retweets and likes tweets
Sends a thank-you reply to new followers
#100DaysOfCode tweet has negative sentimentTweets back encouragement if a
Tracks user interaction via
LevelDB to give users daily encouragement
job scheduler to tweet 'Project of the Day'Uses a cron-like
Blacklist Spammers who abuse [#100DaysOfCode]
freeCodeCamp challenges and Help Channels (such as Slack, Discord, etc.) are merged in an API to constantly tweet links for new joiners/followers
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.
- Generate your Sentiment API key here.
- Fork this repository.
- Create an
.envfile 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=xxxxxxxxxxxxxxxxxxxxZAU8wNKAPU8Qz2c0PhOo43cGO SENTIMENT_KEY=xxxxxxxxxxxxxxxxxxxx7Ev80Pacp1h0c2kjsnMVVrG5m9MNlF QUERY_STRING=#someTestHashtag TWITTER_USERNAME=YourTestTwitterAccountName
Make the Change
- Change any hashtags to
#someTestHashtagto avoid spamming the community hashtag.
npm/yarn testto check all keys are available before you start.
- Make your suggested change.
- Ensure code style follows existing code (run
npm run formatto apply preferred formatting).
- Create a pull request.
BSD 3-Clause License
Copyright (c) 2018, freeCodeCamp. All rights reserved.