summaryrefslogtreecommitdiff
path: root/actions/api.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-08-19 15:54:31 -0400
committerzach <zach@controlyourself.ca>2008-08-19 15:54:31 -0400
commite980ebc714cebd1f0e94f486ba2e74f903d47905 (patch)
tree3bb2650e636ca6205b47fbd22b7f64bdcd1f6a77 /actions/api.php
parent55f5bea21ebb29266c4a4c8068057928fa4504bf (diff)
Twitter-compatible API - Added /statuses/followers to methods that
require bareauth only if no nickname/id is supplied. darcs-hash:20080819195431-462f3-93d27cf980fd09aeb30ea741639c1650baecad60.gz
Diffstat (limited to 'actions/api.php')
-rw-r--r--actions/api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/api.php b/actions/api.php
index c40f189a2..c4cfd569d 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -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";