Awesome
Quotter - #DailyMotivation Twitter Bot
A Twitter Bot which tweets random inspirational quotes with a picture.
Follow Quotter(@SayHiToQuotter) on Twitter and Stay Motivated
Always!
Check documentation for the
source code
here!
A Big shout out to Canva! I've created the Quotter logo and Twitter header using this.
Special Mention
A heartfelt thanks to Ananya for suggesting the name Quotter.
Quotes + Twitter = Quotter
Getting Started
-
First clone this repository:
git clone https://github.com/vinitshahdeo/Quotter.git
-
Replace 'XXXXXXXXX' in
src/config.js
with your Twitter API keys.
module.exports = {
consumer_key: 'XXXXXXXXXXXXXXXX',
consumer_secret: 'XXXXXXXXXXXXXXXX',
access_token_key: 'XXXXXXXXXXXXXXXX',
access_token_secret: 'XXXXXXXXXXXXXXXX'
}
-
To run this Twitter bot, first install dependencies :
npm install
-
Then run the below command :
npm run build
ornpm run start
Note - Tests are written using Mocha and can be run using npm test
APIs Used
Dependencies Used
Getting Twitter API keys
Click here to get Twitter API key.
Step by Step Instructions
-
Go to this and log in, if necessary.
-
Enter your Application Name, Description and your website address. You can leave the callback URL empty.
-
Accept the TOS, and solve the CAPTCHA.
-
Submit the form by clicking the Create your Twitter Application.
-
Copy the consumer key (API key) and consumer secret from the screen and replace in
src/config.js
-
Generate acess token and access secret token and replace in
src/config.js
Thanks! Glad to see you here! Don't forget to follow Quotter(@SayHiToQuotter) on Twitter.
<a href="https://www.eatmy.news/2020/06/code-like-you-eat-i-mean-code-daily-as.html"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/vinit-shahdeo.jpg" width="150px " height="150px" /></a> |
---|
Vinit Shahdeo |
<a href="https://twitter.com/Vinit_Shahdeo"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/twitter.png" width="32px" height="32px"></a> <a href="https://www.facebook.com/vinit.shahdeo"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/facebook.png" width="32px" height="32px"></a> <a href="https://www.linkedin.com/in/vinitshahdeo/"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/linkedin.png" width="32px" height="32px"></a> |