Deploying Twitter Bot to Herokuby@sujan-chhetri
2,212 reads

Deploying Twitter Bot to Heroku

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

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


Receive Stories from @sujan-chhetri

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!