|
API定义在
: T3 e& T9 \% E4 @+ [ Q* V" b7 G6 d8 D2 \5 |! F6 @' u
" L& k! n9 V( ?) M& Z; P/ H) a* _6 f( m
/media/cryptofs/apps/usr/palm/applications/com.funkatron.app.spaz/default_preferences.js
- u# x$ V( t$ y6 X/ q
+ S! {, x# C2 K9 G在这个js文件的最后部分可以看到相关的定义.
. ]/ L/ q [% w如果要修改API,只需要把相关的定义行改掉即可.注意:相关API可能需要KEY才可以顺利登录; m& T7 r% F( i4 K7 X" O4 A6 f* M- ?
; K A) @* d1 u% |9 J& E# T( D
根据其他朋友目前提供的资料,常用的API有- s60jj.com/o( \2 t0 @7 B! ?: ^1 D
- sdowen.byethost32.com/twip
6 u+ k3 ^, m7 h0 H - bh.mxox.net/twip6 T1 F9 I- U2 P1 F1 B: V+ M/ ]
- yegle.net/twip/trunk
复制代码 附上default_preferences.js全文供参考:- var default_preferences = {4 |6 ]" P5 W) l6 c$ r) y
- 3 C# s8 w) V" K; E: J7 N1 |7 q+ b
- 'last_username':null,
+ B3 h* t8 C, q+ Z - 'last_type':null,4 t0 O G" N- B, m. p/ U) ]: S2 r
- 'last_userid':null,& S9 K1 P$ h* E; W" ?* M
-
3 ^8 G0 _2 H! ]& n+ P - 5 ]- Z6 ~5 G( f4 p% {
- 'users':[], // an array of user objects with properties { 'id', 'username',
' K, D9 Z- w9 N! I3 q
1 u. G" s/ P0 k- 'password', 'type', 'meta' } # }+ f( R: T5 u
- 'always-go-to-my-timeline':false,
) r4 g5 L1 @$ T
# G# T$ j2 M5 D }, S- b2 L4 ~- 'use-markdown': true,5 ^/ u3 x! V% E
- / {4 a2 Z8 g' W) `/ _" q
- 'sound-enabled': true,5 X2 m" N- u, P' Y% s
- 'vibration-enabled': true,
- W# V% p. f, `! a - 'wilhelm-enabled': true,
f- N/ l% n: w# H1 v - ; J' i3 x/ S; {9 Q# q* L( W
- 'network-refreshinterval': 900000,
3 e+ A) P6 P' N. } - 'network-searchrefreshinterval': 900000,
# U3 ~0 l- n: @/ ~0 u* h - ) ?8 b/ g4 H) b2 B& V
- 'network-autoadjustrefreshinterval': true,% p3 v; j* D. g' w* I7 h
- * X0 R4 o! C7 d: P8 z' ]
- 'notify-newmessages':true,. c3 w7 p& v' P) [6 d0 ]: b+ @! G# S3 Z
- 'notify-mentions':true,
+ ?/ x; N: u& a2 O2 N$ L - 'notify-dms':true,. [+ l% C. b9 F
- 'notify-searchresults':true,; g8 [2 a3 R7 |/ G% q
2 h- H6 E t& a1 g- 'timeline-scrollonupdate': true,# {9 H0 G7 |5 T5 M; y8 b
- 'timeline-maxentries': 100,
0 C# ?+ _6 j0 L7 ^: z7 z3 a - 'timeline-maxentries-dm': 10,
0 A4 E4 B* l- ~3 j! }: b - 'timeline-maxentries-reply': 10, ) b7 y+ g- N! A
- 'timeline-friends-getcount': 20,% b7 \& J9 _; F6 y- i6 d. h: G( ]( ?
- 'timeline-replies-getcount': 5,
5 L. k: ^9 _% g - 'timeline-dm-getcount': 5," S& i4 _/ c3 V. ?& ~4 l$ R2 M8 V
0 H7 k( w6 o- d, l* e7 G; T: o4 G- 'url-shortener': 'bitly',
- c [( F8 S. B/ U6 x {( t - $ F3 L( m6 \/ D5 M
- 'image-uploader': 'yfrog',- T* e7 m- D; w3 ] B
/ \+ G' W: g& p: ?- 'services-twitpic-sharepassword': false,
0 n& y" I* v; x3 h4 X% ? - " C2 d- v' S! {* K
- 'services-pingfm-userappkey': '',1 y- [" @% ?) P6 H
- 'services-pingfm-enabled': false," K/ l% ]3 \) S; K$ N) { U
- 'services-pingfm-sendreplies': false,8 T, n. ]; D! v. l7 w1 |8 F
- 'services-pingfm-updatetype': 'default',: w2 U5 l! ]( S# F
- 6 }1 S1 N# Q0 L i# V4 x
- 'services-pikchur-apikey': 'aJMHC7eHRbhnA7FLdXmAtA',
& V0 _5 `, P9 N3 ^, o - 'services-pikchur-source': 'NjMw',+ M9 T8 K" Z9 ?' W+ d
- 'services-bitly-apikey': 'R_f3b86681a63a6bbefc7d8949fd915f1d',+ {" Y$ Y5 p1 x, c: ^! @7 |
3 L q ?7 L4 [$ x. H2 i' k' L( U5 m- 'twitter-api-base-url': 'https://twitter.com/',
0 Q! g% I( M( N$ g - 'twitter-www-base-url': 'http://twitter.com/',5 p( |9 Q I: i `
- + Y; e4 o, i) `* f9 H# F- j: Q% |
- 'twitter-source': 'spaz',
6 T/ f F* e3 j, |1 v
, o- K# C) S% z- 'timeline-text-size': 'tall', // also grande, venti
( g: g8 t1 _6 q, U - }
复制代码 |
|