From 37b3bd54893b0221fba32461c2720fc252e11743 Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 30 Sep 2008 15:44:35 -0400 Subject: Twitter-compatible API - Favorites now working! darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz --- htaccess.sample | 1 + 1 file changed, 1 insertion(+) (limited to 'htaccess.sample') diff --git a/htaccess.sample b/htaccess.sample index 598ea9f7f..d05a74603 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -110,6 +110,7 @@ RewriteRule ^api/account/update_delivery_device(.*)$ index.php?action=api&apiact RewriteRule ^api/account/rate_limit_status(.*)$ index.php?action=api&apiaction=account&method=rate_limit_status$1 [L,QSA] RewriteRule ^api/favorites/create/(.*)$ index.php?action=api&apiaction=favorites&method=create&argument=$1 [L,QSA] RewriteRule ^api/favorites/destroy/(.*)$ index.php?action=api&apiaction=favorites&method=destroy&argument=$1 [L,QSA] +RewriteRule ^api/favorites/(.*)$ index.php?action=api&apiaction=favorites&method=favorites&argument=$1 [L,QSA] RewriteRule ^api/favorites(.*)$ index.php?action=api&apiaction=favorites&method=favorites$1 [L,QSA] RewriteRule ^api/notifications/follow/(.*)$ index.php?action=api&apiaction=notifications&method=follow&argument=$1 [L,QSA] RewriteRule ^api/notifications/leave/(.*)$ index.php?action=api&apiaction=notifications&method=leave&argument=$1 [L,QSA] -- cgit v1.2.3-54-g00ecf