Skip to content
Newer
Older
100644 27 lines (21 sloc) 1.03 KB
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
1 # Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
59617b7 @gimite Following reconnection wait spec in Twitter API document.
gimite authored Oct 9, 2010
2 # License: Public Domain
cb8463b @gimite Initial version.
gimite authored Sep 7, 2010
3
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
4 module TSSConfig
5b201ec @gimite Implementing session cleanup. Making /login POST. Adding log-out link…
gimite authored Sep 9, 2010
5
59617b7 @gimite Following reconnection wait spec in Twitter API document.
gimite authored Oct 9, 2010
6 # Register at http://dev.twitter.com/apps and put your keys below.
c3b9e8d @gimite Making it possible to tweet on the search result page. Switching to r…
gimite authored Oct 17, 2010
7 # The app must have read access. This key is used for Streaming API.
59617b7 @gimite Following reconnection wait spec in Twitter API document.
gimite authored Oct 9, 2010
8 # Last two are available from "My Access Token" link in your application page.
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
9 TWITTER_API_KEY = "OAuth consumer key here"
59617b7 @gimite Following reconnection wait spec in Twitter API document.
gimite authored Oct 9, 2010
10 TWITTER_API_SECRET = "OAuth consumer secret here"
11 TWITTER_API_ACCESS_TOKEN = "OAuth access token here"
12 TWITTER_API_ACCESS_TOKEN_SECRET = "OAuth access token secret here"
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
13
c3b9e8d @gimite Making it possible to tweet on the search result page. Switching to r…
gimite authored Oct 17, 2010
14 # Keys for another app, which must have read/write access.
15 # This key is used to post users' tweets.
16 TWITTER_API_WRITE_KEY = "OAuth consumer key here"
17 TWITTER_API_WRITE_SECRET = "OAuth consumer secret here"
18
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
19 # Change these for your environment. These ports must be available from public.
20 BASE_URL = "http://tweet-search-stream.gimite.net"
21 WEB_SERVER_PORT = 80
22 WEB_SOCKET_SERVER_PORT = 13000
23 SINATRA_ENVIRONMENT = :development
aa8fd0f @gimite Making session cookie id configurable in tss_config.rb.
gimite authored Sep 20, 2010
24 SESSION_COOKIE_KEY = "session"
7350fd7 @gimite Adding copyright notice and README. Putting config constants in TSSCo…
gimite authored Sep 13, 2010
25
26 end
Something went wrong with that request. Please try again.