Skip to content

gabber12/bottrgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bottr go

Twitter Bot with sentiments

Features

  • Stream tweets filtering for topics or users
  • Compute Sentiment via MachineBox (Needs MachineBox Url)

In Action

Terminal

How to Use

Build App

make build

Setup Environment Variables

Get your credentials to use twitter api at http://apps.twitter.com

export TWITTER_CONSUMER_KEY=
export TWITTER_CONSUMER_SECRET=
export TWITTER_ACCESS_TOKEN=
export TWITTER_ACCESS_TOKEN_SECRET=

Usage

Stream Filter

 ./tweety -textFilter "#cats"       

Stream Filter and classify with MachineBox

 ./tweety -textFilter "#cats" -classify -mbHost "http://localhost:80
90"         

Complete list of Flags

 ./tweety -textFilter "#cats|#dogs" -locationFilter "-74,40,-73,41" -userFilter "userId" -classify -mbHost "http://localhost:80
90"  

Notes

Checkout https://machinebox.io.

About

A Sentimental Twitter Bot written in go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published