All Projects → rbrahul → Twitter-bot

rbrahul / Twitter-bot

Licence: other
Twitter bot which waits for #hashTag and sends weather update of city via tweets

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Twitter-bot

rust-trending
A twitter bot (@RustTrending) to tweet trending rust repositories, inspired by @TrendingGithub
Stars: ✭ 113 (+465%)
Mutual labels:  twitter-bot, tweets
weatherBot
⛈ A Twitter bot for weather
Stars: ✭ 20 (+0%)
Mutual labels:  weather, twitter-bot
twittered
Twitter API client for Java developers
Stars: ✭ 170 (+750%)
Mutual labels:  twitter-bot, twitter-application
twitter-bot-bootstrap
Template for creating a twitter bot using python (twython) and heroku
Stars: ✭ 26 (+30%)
Mutual labels:  twitter-bot, tweets
Twitter Activated Crypto Trading Bot
Buys crypto through keyword detection in new tweets. Executes buy in 1 second and holds for a given time (e.g. Elon tweets 'doge', buys Dogecoin and sells after 5 minutes). Tested on Kraken and Binance exchanges
Stars: ✭ 92 (+360%)
Mutual labels:  twitter-bot, tweets
TgTwitterStreamer
Continous Integration from Twitter to Telegram.
Stars: ✭ 55 (+175%)
Mutual labels:  twitter-bot, tweets
awesome-twitter-bots
A Curated Collection of the Best Twitter Bots 🤖
Stars: ✭ 99 (+395%)
Mutual labels:  twitter-bot, tweets
coopboost
Grow your twitter audience.
Stars: ✭ 50 (+150%)
Mutual labels:  twitter-bot, tweets
TwitterAutoReplyBot
This is a tiny Python script that replies to a specified number of tweets containing a specified hashtag.
Stars: ✭ 33 (+65%)
Mutual labels:  twitter-bot, tweets
tradoge
DOGE trading bot for instantly buying and selling DOGE cryptocurrency on Binance when Elon Musk tweets about it.
Stars: ✭ 122 (+510%)
Mutual labels:  twitter-bot, tweets
tweet-delete
Self-destructing Tweets so you too can be cool 😎
Stars: ✭ 68 (+240%)
Mutual labels:  twitter-bot, tweets
TeleTweet
🦉 A telegram Twitter bot that will allow you send tweets!
Stars: ✭ 34 (+70%)
Mutual labels:  twitter-bot, tweets
tweet-delete-bot
A bot that deletes and un-favourites tweets that are more than 10 days old. Schedule this to run once a day to become an ephemeral tweep, just like http://twitter.com/JacksonBates
Stars: ✭ 39 (+95%)
Mutual labels:  twitter-bot, tweets
coolme
A 🌜⚽⚽👢 Discord bot, invite ➡
Stars: ✭ 13 (-35%)
Mutual labels:  weather
TwitterClone
Based on core principles of Twitter but different in many ways.
Stars: ✭ 27 (+35%)
Mutual labels:  tweets
weather-mobile
A simple GTK4 weather app to play with rust and PinePhone development. I just needed a weather app that scaled properly...
Stars: ✭ 15 (-25%)
Mutual labels:  weather
twitter-aws-comprehend
An app to analyze tweets using Amazon Comprehend's Sentiment Analysis service
Stars: ✭ 13 (-35%)
Mutual labels:  tweets
pghumor
Is This a Joke? Humor Detection in Spanish Tweets
Stars: ✭ 48 (+140%)
Mutual labels:  tweets
MetarParser
A java program decoding metar and taf
Stars: ✭ 30 (+50%)
Mutual labels:  weather
Colorfulclouds-weather
用于HASS的彩云天气组件
Stars: ✭ 57 (+185%)
Mutual labels:  weather

Twitter-weather-update-bot

A Twitter bot which waits for #hashTag and sends weather update of city via tweets to the user

#How it Works

Step 1:

User tweets to get weather update using hashTag #DhakaWeather such as:

Seeking Weather Update of Dhaka

Step 2:

The twiter weather BOT always filters hashTag #DhakaWeather. And when ueser tweets this hastag ths BOT automatically responds him back with Weather information. For Example:

Twitter Weather BOT responded back with information to the user

#Tweets Monitoring You can see all the tweets and response to tweets with their details in Tweets Monitoring panel. (Page Refreshing needed, Ajax not Implemented)

Twitter Weather BOT keeps trak of all the tweets to monitor

Detail view of tweets

Tweet details view to get more information

#Installation

Create a Twitter Application

Go to https://apps.twitter.com/ and create a new Application. Then you will get consumer key, secret and access_token

Get Weather API Key:

Go to http://openweathermap.org/appid. If you don't have account yet you need to sign up to get free API Key. Their's APIs are really awesome. Don't hasitate.

Create MySQL Database:

Create a mysql database named as twitter_bot. or anything else. Then import the database schema from database.sql file from your project root directory.

####Change Configuration: After completing above steps please change the configuration file with your own App specific Information In src\utils\config.js:

module.exports.tweeterConfig = {
    consumer_key: 'YOUR_consumer_key',
    consumer_secret: 'YOUR_consumer_secret',
    access_token_key: 'YOUR_access_token_key',
    access_token_secret: 'YOUR_access_token_secret'
};


module.exports.database = {
    host: 'localhost',
    user: 'root', // replace the user name with your own
    password: 'YOUR_DB_PASSWORD', // replace the password with your own
    database: 'twitter_bot'
};

module.exports.APILocationInfo = {
    weatherAPIKEY: '240fae0e48fd82c8f35f6657c96496e4',
    hashTag: '#DhakaWeather', // you may replace it with your own
    cityID: '1337179', //This id denotes Dhaka, Bangladesh. To replace with your one get it from openweather.org
    cityNamye: 'Dhaka' // This City Name will be used when response back to the tweets. You may change it
};

###Final Stage: I think you have successfully configured these information. If everything goes well run following line in your Terminal or Command Line Tools from project directory:

$ npm start

Then go to http://localhost:3000 and visit. At first you will get a blank table. But when someone tweets using your #hashTag the system will response him back and save to your database. You have to refresh your page to see the lates tweets.

#Note Twitter application has some strict rules. As a result your app may be down for a short period while developing if you restart your server freequently or execute your twitter connection related codes. If you find any error related to status then read the twitter API Error and Response Status document.

Developed with using Nodejs,Express, MySQL, Jquery, Nunjuck

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].