From e980ebc714cebd1f0e94f486ba2e74f903d47905 Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 19 Aug 2008 15:54:31 -0400 Subject: [PATCH] Twitter-compatible API - Added /statuses/followers to methods that require bareauth only if no nickname/id is supplied. darcs-hash:20080819195431-462f3-93d27cf980fd09aeb30ea741639c1650baecad60.gz --- actions/api.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/actions/api.php b/actions/api.php index c40f189a24..c4cfd569d6 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"; -- 2.39.5