Twitter-compatible API - Added /statuses/followers to methods that

require bareauth only if no nickname/id is supplied.

darcs-hash:20080819195431-462f3-93d27cf980fd09aeb30ea741639c1650baecad60.gz
This commit is contained in:
zach 2008-08-19 15:54:31 -04:00
parent 55f5bea21e
commit e980ebc714
1 changed files with 4 additions and 1 deletions

View File

@ -103,7 +103,10 @@ class ApiAction extends Action {
'users/show',
'help/test',
'help/downtime_schedule');
static $bareauth = array('statuses/user_timeline', 'statuses/friends');
static $bareauth = array('statuses/user_timeline',
'statuses/friends',
'statuses/followers');
$fullname = "$this->api_action/$this->api_method";