From acb4c783463660710e894ecb54ebaebb3d1ae77c Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 2 Jul 2009 17:32:27 -0700 Subject: Route and stub for new friendships/show API method --- actions/twitapifriendships.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'actions') diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 29eb4cc0f..35e016431 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -160,4 +160,18 @@ class TwitapifriendshipsAction extends TwitterapiAction } + function show($args, $apidata) + { + + parent::handle($args); + + if (!in_array($apidata['content-type'], array('xml', 'json'))) { + $this->clientError(_('API method not found!'), $code = 404); + return; + } + + print "gar"; + + } + } \ No newline at end of file -- cgit v1.2.3-54-g00ecf