-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKrile.txt
83 lines (46 loc) · 3.27 KB
/
Krile.txt
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
-- -- -- Krileの設定方法 -- -- --
1. app登録
https://apps.twitter.com/ でCreate New Appをクリック。
Name = appsの名前 - 適当でおk
Description = appsの説明 - KrileApps とかでおk
Website = アプリが働くサイト - https://twitter.com/[ここにTwitterID]とかでおk
例 : https://twitter.com/___monmon_
Yes, I agreeで同意してapp作成
作成後、作成したappの名前をクリックし設定をパーミッション設定を変更する。
Permissionタブを選択しAccessの設定を"Read, Write and Access direct messages"に変更しUpdate Settingsで変更を適応する。
2. Krileダウンロード , インストール
http://krile.starwing.net/ からversion3.0.0を落とし、設定する(割愛)
3. Krile初期設定
適当にすすめて、上にある「settings」をクリック。アカウントタブの一番下の「APIキーを再設定」をクリック
警告(?)が出るので、「APIキーを再設定」をクリック
https://apps.twitter.com/ で先ほど作ったappを選択。「Keys and access Tokens」タブをクリックし、
「Consumer Key」、「Consumer Secret」をKrileにコピペする
続いてAPIキーの再設定の右側にある「新しいアカウントを追加」をクリック。
ブラウザが開くので、アカウントの利用を許可し、表示される数字をKrileに打ち込んでokを押す
4.クエリ設定
トップ画面に戻り、Homeを右クリック、「このタブを閉じる」をクリック
他にもタブを開いていたら同じようにタブを閉じる
クエリでツイートの表示方法等の細かい設定ができる
先ほどのHomeがあった所を右クリック「新規タブの追加」をクリック
同様の方法で、TL(All), TL(Name) , 通知 , 自分宛てリプ , エゴサ , エゴサ(Follow/Follower) , 被Fav / RT , DM, 非公式RT を作成
これを入力して何が出来る等は「考えなくても大丈夫」←ここ重要
以下記載のクエリをコピペしたら完成
TL
from local where user <- *.following | (retweet & (retweeter <- * | retweeter <- *.followings)) | user <- * | to -> *
各アカウントTL
from local where (user in @自分のID.following) | (rts contains @自分のID.following) | (to contains @自分のID) | (user in @自分のID & !rt) | (rts in @自分のID)
通知
from all where to -> * & !retweet | user <- * & (favs > 0 | rts > 0) && !(dm)
自分宛てリプ
from all where to -> * & !retweet && !dm
エゴサ
from track:"エゴサしたい内容","エゴサしたい内容","エゴサしたい内容","エゴサしたい内容" where !( text contains "@自分のID" | dm | retweet)
エゴサ(Follow/Follower)
from local where ( text contains "エゴサしたい内容" | text contains "エゴサしたい内容" | text contains "エゴサしたい内容" | text contains "エゴサしたい内容") && (user in *.following | user in *.followers) && !(text contains "@自分のID" | dm | retweet)
被Fav / RT
where user in us && (favs > 0 || rts > 0)
DM
from all where direct_message
非公式RT
from local where ( text contains "twitter.com/自分のID" | text contains "twitter.com/自分のID" | text contains "twitter.com/自分のID") && !( retweet )
以上!