diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-17 17:09:54 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-17 17:10:52 -0800 |
commit | fb8312ebf4537033077917d0003f716206d0d23d (patch) | |
tree | 0dafba093ab5ed957db21916037d411e22bc17e8 /lib/router.php | |
parent | 3a831ff811daf2911fa4a14e1015d63e4451a2ab (diff) |
Ticket #2959: implement api/users/profile_image endpoint in Twitter-compat API
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index b8a9db223..9cd28a394 100644 --- a/lib/router.php +++ b/lib/router.php @@ -524,6 +524,11 @@ class Router 'id' => Nickname::INPUT_FMT, 'format' => '(xml|json)')); + $m->connect('api/users/profile_image/:screen_name.:format', + array('action' => 'ApiUserProfileImage', + 'screen_name' => Nickname::DISPLAY_FMT, + 'format' => '(xml|json)')); + // direct messages $m->connect('api/direct_messages.:format', |