Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 1.058 kB
# Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
# License: Public Domain
module TSSConfig
# Register at http://dev.twitter.com/apps and put your keys below.
# The app must have read access. This key is used for Streaming API.
# Last two are available from "My Access Token" link in your application page.
TWITTER_API_KEY = "OAuth consumer key here"
TWITTER_API_SECRET = "OAuth consumer secret here"
TWITTER_API_ACCESS_TOKEN = "OAuth access token here"
TWITTER_API_ACCESS_TOKEN_SECRET = "OAuth access token secret here"
# Keys for another app, which must have read/write access.
# This key is used to post users' tweets.
TWITTER_API_WRITE_KEY = "OAuth consumer key here"
TWITTER_API_WRITE_SECRET = "OAuth consumer secret here"
# Change these for your environment. These ports must be available from public.
BASE_URL = "http://tweet-search-stream.gimite.net"
WEB_SERVER_PORT = 80
WEB_SOCKET_SERVER_PORT = 13000
SINATRA_ENVIRONMENT = :development
SESSION_COOKIE_KEY = "session"
end
Jump to Line
Something went wrong with that request. Please try again.