diff options
author | zach <zach@copley.name> | 2008-07-17 20:23:24 -0400 |
---|---|---|
committer | zach <zach@copley.name> | 2008-07-17 20:23:24 -0400 |
commit | d461e2ff23a70ad70b1cc4e7c422041e3e09ce8b (patch) | |
tree | 4e44830c5ed78bb5617e98b405277a46f9b0387a | |
parent | cffe49eca3f757e3b2adb575d67cf97b8b27d32b (diff) |
Twitter-compatible API - updated rewrite rules to support /statuses/user_timeline
darcs-hash:20080718002324-ca946-6b30ea6e3941b0f1278712edc02d9eeef00a3cc2.gz
-rw-r--r-- | htaccess.sample | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index 3954128e2..317ddef48 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -60,6 +60,7 @@ RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA] # XXX: Surely these can be refactored a little -- Zach RewriteRule ^api/statuses/public_timeline(.*)$ index.php?action=api&apiaction=statuses&method=public_timeline$1 [L,QSA] RewriteRule ^api/statuses/friends_timeline(.*)$ index.php?action=api&apiaction=statuses&method=friends_timeline$1 [L,QSA] +RewriteRule ^api/statuses/user_timeline/(.*)$ index.php?action=api&apiaction=statuses&method=user_timeline&argument=$1 [L,QSA] RewriteRule ^api/statuses/user_timeline(.*)$ index.php?action=api&apiaction=statuses&method=user_timeline$1 [L,QSA] RewriteRule ^api/statuses/show/(.*)$ index.php?action=api&apiaction=statuses&method=show&argument=$1 [L,QSA] RewriteRule ^api/statuses/update(.*)$ index.php?action=api&apiaction=statuses&method=update$1 [L,QSA] |