Playing around with Feedhive's twitter-api-client
Because whenever you like/retweet a post it may occur that your followers/friends will read the post and also keeps the chill and cool vibe for the other person still not satisfied? ask Jai
- we can create a banner with the followers count
Just fill in your API keys which you'll need to apply for a Twitter developer account. It usually get's approved within 5 minutes.
const TWITTER_HANDLE = 'jainaayush01'
const twitterClient = new client.TwitterClient({
apiKey: "YOUR TWITTER CONSUMER API KEY"
apiSecret: "YOUR TWITTER CONSUMER API SECRET"
accessToken: "YOUR TWITTER ACCESS TOKEN"
accessTokenSecret: "YOUR TWITTER ACCESS SECRET"
});
Install dependencies:
npm install
Start the app:
node index.js
or
npm start
Keep it running or deploy it on heroku for free and have fun! P.S. If you need any help to deploy it on heroku DM me on Twitter @jainaayush01.
Summary:
- Fetch your recent followers count using Twitter API. (Rate limit: 180 requests per 15 mins)
- Update your Account Name using Twitter API. (Rate limit: 30 requests per 15 mins)
Feel free to contribute to this project, would love to have you as a contributor. Just fork the project, create an issue, and then create a pull request!
P.S. Special thanks to Devesh, this project is inspired by his idea of Twitter Profile Banner!