syzer / twitter-marketing-bot

Marketing tool for twitter
6 stars 1 forks source link
marketing nlp twitter

wat

Marketing tool for twitter, Find potential customers interested in ex: going to your gym, or interested in your hosted event (like leanpoker competition).

how

Get Twitter api access keys

and after

cp .env.dist .env

put them in .env file

git clone https://github.com/syzer/twitter-marketing-bot.git
cd twitter-marketing-bot
npm install
cp .env.dist .env
# get your key from https://dev.twitter.com/resources/signup
# edit .env with all the kys 
npm start

If build fails

you need working c++ compiler to compile leveldb database(it's like Sqllite but more key-valye and faster) ex on mac:

xcode-select --install 
#and then 
sudo xcodebuild -license accept

requirements

use case

AKA leads generator. Find people that would be potentially interested about you new product/promotion, like:

Extract tweets and build ML pipeline with:

node src/train.js

Use classifier, to figure out what category people are interested.

node src/classifier/classify.test.js

Show stored twitts

npm run view-twitts

and then:

ls()
get(keyName)

Test

Type checking

npm run flow

Unit tests

npm test

Development

npm i -g babel-node
babel-node --version