|
API定义在( Z* G1 B! y0 S
* w" l( S% {8 F4 `
9 H2 j7 L/ D7 d* s3 B- K: I/media/cryptofs/apps/usr/palm/applications/com.funkatron.app.spaz/default_preferences.js* W+ O7 {% `* D
: _( f2 z. A! K3 s2 y% J( I' W4 t+ b
在这个js文件的最后部分可以看到相关的定义.
! j( V& E8 U9 @5 f如果要修改API,只需要把相关的定义行改掉即可.注意:相关API可能需要KEY才可以顺利登录
: Q$ @* h/ D+ P
( c. c7 w5 k# @2 \( R. p" H根据其他朋友目前提供的资料,常用的API有- s60jj.com/o8 p$ n1 D. x; i$ Z
- sdowen.byethost32.com/twip
4 D' x: H, `7 e6 L - bh.mxox.net/twip0 I' z0 O- q; k
- yegle.net/twip/trunk
复制代码 附上default_preferences.js全文供参考:- var default_preferences = {9 Q* f* c& ]/ p+ @% q# _( d. S
-
& Y$ h# a: _: `: x& L0 O - 'last_username':null,
, |2 B# t6 K9 s - 'last_type':null,8 t; ^1 y2 i9 ~4 K
- 'last_userid':null,
+ F/ k0 I5 d. M! y - 1 }2 u' v% {* X) O; l% I3 L5 U
' d/ v0 W/ f ?( p- 'users':[], // an array of user objects with properties { 'id', 'username', ]9 Z0 W: p7 P. |! P( V
- * W; ~2 G8 @5 c7 ^5 `
- 'password', 'type', 'meta' }
) c* r2 T& G2 n/ \) I5 U/ | - 'always-go-to-my-timeline':false,+ c4 a$ g6 e9 |6 A7 `0 Y. i
- % x* v9 M# u2 ~
- 'use-markdown': true,
3 I+ ^: b- {# M% C - 1 [9 C8 u; b5 C5 N. c- v
- 'sound-enabled': true,
+ ^9 x. M& c1 k" q7 x' | - 'vibration-enabled': true,/ C& n5 }% A$ l. F0 E% C
- 'wilhelm-enabled': true,- `4 V. W8 N: V, i
3 b3 Q$ V" x3 J8 C& {- 'network-refreshinterval': 900000,
# V& ]2 @9 K ?8 f% V* `9 n - 'network-searchrefreshinterval': 900000,4 L( N2 Z* `9 _+ B2 A/ U
: y s3 w0 t" \& c- 'network-autoadjustrefreshinterval': true,. U+ E0 |" i, O9 v4 ^8 X+ i
- 2 t, e. C- z& b0 G2 n% `) p
- 'notify-newmessages':true,
1 a9 V; y& T- {+ z6 o. D) v4 R: @ - 'notify-mentions':true,8 P2 E2 l" a! _7 M3 n
- 'notify-dms':true,
) N: ^ }. V H) g* x4 W - 'notify-searchresults':true,. f+ ?, D- _& h( i
- 3 @+ I- c+ q3 s2 V
- 'timeline-scrollonupdate': true,5 ]- w- X6 } }, E
- 'timeline-maxentries': 100,0 q# d2 `1 R x' g* l
- 'timeline-maxentries-dm': 10,
' r, X) K. |& k8 b1 j1 Z - 'timeline-maxentries-reply': 10, ' A) p6 s& M! x5 A, ^
- 'timeline-friends-getcount': 20,+ w. i Z2 y8 b5 ^7 V% [
- 'timeline-replies-getcount': 5,
9 e: P% x, V! A/ m4 l) R' w! k - 'timeline-dm-getcount': 5, V2 T2 d* Q; J" h+ P" H; i
- 9 T! e3 `# j/ ~( D8 P) Q# C; Q4 q
- 'url-shortener': 'bitly',
' Z8 l; [9 W; k* ?6 U - # m* C% T3 n0 k' u+ _
- 'image-uploader': 'yfrog',. w# C, Z+ X# V$ i
3 _( I% ]7 A& B' W- 'services-twitpic-sharepassword': false,
* w. o5 L& K! H$ S
H* W6 V$ E8 ^& F4 A. ~$ a- 'services-pingfm-userappkey': '',
4 Y5 x3 K) ~2 F: B2 _ - 'services-pingfm-enabled': false,
) H" Z- D5 p# b% X* l - 'services-pingfm-sendreplies': false,7 m+ C- ^9 ~+ h4 ~
- 'services-pingfm-updatetype': 'default',. U. R$ G3 B; }1 n) k9 c
- $ t# b0 F7 l' z8 M* W6 H7 L; ?
- 'services-pikchur-apikey': 'aJMHC7eHRbhnA7FLdXmAtA',) W) |3 z8 A* p/ Z* K8 f) A
- 'services-pikchur-source': 'NjMw',
* X8 E9 z: J% q" Y: C2 e8 ^ - 'services-bitly-apikey': 'R_f3b86681a63a6bbefc7d8949fd915f1d',- F3 N& l3 Y5 T$ d" Z5 Y/ E+ t
( O/ W* e5 t' Z3 v: P; M7 P- 'twitter-api-base-url': 'https://twitter.com/',, {; c# Z, o2 s* ?! G( K
- 'twitter-www-base-url': 'http://twitter.com/',
7 z' K( c. f* \0 ^& P( S# S
7 J6 J" X: T. {! n$ T5 s- 'twitter-source': 'spaz',8 y; I% P- g% y& V" w
- . F' C/ W9 q% Z$ u: F6 X2 d* D
- 'timeline-text-size': 'tall', // also grande, venti/ [: L" Q2 B8 Q/ V6 ^
- }
复制代码 |
|