Permalink
Browse files

add argumented friends and followers to api

darcs-hash:20080718051841-84dde-32da4237ac89bc6dd953a1e73cab63e8aa718746.gz
  • Loading branch information...
1 parent 0567dc4 commit 0adb1f69707927c7aae245a80fcc3ec12cd05db3 @evanp evanp committed Jul 18, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 htaccess.sample
View
@@ -66,7 +66,9 @@ RewriteRule ^api/statuses/show/(.*)$ index.php?action=api&apiaction=statuses&met
RewriteRule ^api/statuses/update(.*)$ index.php?action=api&apiaction=statuses&method=update$1 [L,QSA]
RewriteRule ^api/statuses/replies(.*)$ index.php?action=api&apiaction=statuses&method=replies&argument=$1 [L,QSA]
RewriteRule ^api/statuses/destroy/(.*)$ index.php?action=api&apiaction=statuses&method=destroy&argument=$1 [L,QSA]
+RewriteRule ^api/statuses/friends/(.*)$ index.php?action=api&apiaction=statuses&method=friends&argument=$1 [L,QSA]
RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&method=friends$1 [L,QSA]
+RewriteRule ^api/statuses/followers/(.*)$ index.php?action=api&apiaction=statuses&method=followers&argument=$1 [L,QSA]
RewriteRule ^api/statuses/followers(.*)$ index.php?action=api&apiaction=statuses&method=followers$1 [L,QSA]
RewriteRule ^api/statuses/featured(.*)$ index.php?action=api&apiaction=statuses&method=featured$1 [L,QSA]
RewriteRule ^api/direct_messages/sent(.*)$ index.php?action=api&apiaction=direct_messages&method=sent$1 [L,QSA]

0 comments on commit 0adb1f6

Please sign in to comment.