https://github.com/syzer/twitter-marketing-bot
Marketing tool for twitter
https://github.com/syzer/twitter-marketing-bot
marketing nlp twitter
Last synced: about 1 year ago
JSON representation
Marketing tool for twitter
- Host: GitHub
- URL: https://github.com/syzer/twitter-marketing-bot
- Owner: syzer
- Created: 2017-08-29T16:44:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T08:40:11.000Z (over 3 years ago)
- Last Synced: 2025-04-29T04:05:54.973Z (about 1 year ago)
- Topics: marketing, nlp, twitter
- Language: JavaScript
- Size: 504 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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
```bash
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:
```bash
xcode-select --install
#and then
sudo xcodebuild -license accept
```
# requirements
- node 8+
- npm
# use case
AKA leads generator.
Find people that would be potentially interested about you new product/promotion, like:
- ### gym
- ### programing
- ### photography
Extract tweets and build ML pipeline with:
```bash
node src/train.js
```
Use classifier, to figure out what category people are interested.
```bash
node src/classifier/classify.test.js
```
# Show stored twitts
```bash
npm run view-twitts
```
and then:
```js
ls()
get(keyName)
```
# Test
## Type checking
```bash
npm run flow
```
## Unit tests
```bash
npm test
```
# Development
```bash
npm i -g babel-node
babel-node --version
```