paint-brush
Deploying Twitter Bot to Herokuby@sujan-chhetri
2,216 reads
2,216 reads

Deploying Twitter Bot to Heroku

by Sujan Chhetri7mAugust 27th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Node.js and a package called Twit can be used to deploy the bot to Heroku. The bot gets the twitter data, post the status and retweeting tweets. It can be run using Node.JS and Twit to search for tweets containing the word'suJJJan' T.get('search/tweets',parameters,fetchData); function fetchData (err, data, response) { { { created_at : 'Thu Aug 06 10:38:09 +0000 2020', id : 1291311562636183600, id_str : '12911021010106626183559', text : "RT @Hello2: @random twitter is best @random Twitter is best",

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Deploying Twitter Bot to Heroku
Sujan Chhetri HackerNoon profile picture
Sujan Chhetri

Sujan Chhetri

@sujan-chhetri

Backend Developer.Interested in creating scalable & secure platforms.Let's create the web better.

Learn More
LEARN MORE ABOUT @SUJAN-CHHETRI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sujan Chhetri HackerNoon profile picture
Sujan Chhetri@sujan-chhetri
Backend Developer.Interested in creating scalable & secure platforms.Let's create the web better.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite