]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter-compatible API - Added /statuses/followers to methods that
authorzach <zach@controlyourself.ca>
Tue, 19 Aug 2008 19:54:31 +0000 (15:54 -0400)
committerzach <zach@controlyourself.ca>
Tue, 19 Aug 2008 19:54:31 +0000 (15:54 -0400)
require bareauth only if no nickname/id is supplied.

darcs-hash:20080819195431-462f3-93d27cf980fd09aeb30ea741639c1650baecad60.gz

actions/api.php

index c40f189a24b5f8cda239246bf963c4143956db8b..c4cfd569d61c66a1c90c56ce6c92088d2666c34a 100644 (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";