-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathexample_platform.ini
More file actions
48 lines (42 loc) · 1.68 KB
/
example_platform.ini
File metadata and controls
48 lines (42 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;
; SoMe Tools platform ini/config file
;
; Step 1: In the same directory as "tweet_collector.py", create a plain text file named
; "collection.terms" and put one keyterm per line.
;
; Step 2: File >> Save as >> save this file as "platform.ini" - KEEP THE ORIGINAL AS BACKUP
;
; Step 3: Confirm "platform.ini" is in the same directory as "tweet_collector.py"
;
; Step 4: Visit: https://dev.twitter.com/apps/new
;
; Step 5: Login with your Twitter account
;
; Step 6: You'll be queries to "create an application" - you need to do this to obtain
; "oauth" credentials. The name, description, and website are filler - feel free to use
; whatever you like. Leave "callback URL" blank. Submit.
;
; Step 7: Change the values below: [collection] needs a name value, [files] require directory
; path values and file names (change these!), and [oauth] requires the values you obtained
; from the Twitter dev site
[collection]
name:collectionname
; note: is there a way to take the file name from the collection name? so
; %(name)s_tweets_out.txt
[files]
tweets_file_path:./tweets/
; the date format is used to build the tweets out file name as well as indicate
; when the file should rool over. The fastest possible roll over (not reccomended)
; is seconds and is specified with %Y%m%d-%H%M%S. For testing use minutes (%Y%m%d-%H%M)
; or hours (%Y%m%d-%H), but for collection use hours or days (%Y%m%d)
tweets_file_date_frmt:%Y%m%d-%H
tweets_file:tweets_out.json
; the final constructed file name will be something like: ./tweets/20130822-1030tweets_out.json
terms_file:./collection.terms
log_dir:./logs/
log_config_file:./logging.conf
[oauth]
consumer_key:
consumer_secret:
access_token:
access_token_secret: