Twitter-compatible API - added favorites/favorites to list of methods only requiring bare auth

darcs-hash:20081015163112-462f3-ca22e3fcf4a5d3ad4613dd08c4bf7ce59e296385.gz
This commit is contained in:
zach 2008-10-15 12:31:12 -04:00
parent f1d14fd975
commit 9b75a8ea9f

View File

@ -105,7 +105,8 @@ class ApiAction extends Action {
static $bareauth = array('statuses/user_timeline', static $bareauth = array('statuses/user_timeline',
'statuses/friends', 'statuses/friends',
'statuses/followers'); 'statuses/followers',
'favorites/favorites');
$fullname = "$this->api_action/$this->api_method"; $fullname = "$this->api_action/$this->api_method";