tweet_collector

command module
v0.0.0-...-4a6c049 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2014 License: MIT Imports: 8 Imported by: 0

README

Tweet collector

Use it to collect tweets from the Twitter streaming API.

Usage

First you need API credentials for the streaming API. You can get those by creating a new Twitter App on the Application management screen. Put these credentials in a JSON file called config.json. Then edit keepalive.sh and put in your DB credentials (tested with MySQL) in the env variable DB_CREDENTIALS. Example: username:password@/dbname If you're not on OSX remove the call to "caffeinate". The script will run the collector, that saves tweets and users to the DB, and in case of an error, it will restart the process. Forever.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL