From 05fe4f6a2fa7b4e24d09a6a3e1794b6c321bf879 Mon Sep 17 00:00:00 2001 From: zach Date: Sun, 20 Jul 2008 04:39:48 -0400 Subject: [PATCH] Twitter-compatible API: /friendship/exists always failed - fixed! darcs-hash:20080720083948-ca946-14b4ef6a5fe387f1e147546be156fafb7d665275.gz --- actions/twitapifriendships.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 19617a071b..19bc71b7af 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -129,8 +129,8 @@ class TwitapifriendshipsAction extends TwitterapiAction { $user_a_id = $this->trimmed('user_a'); $user_b_id = $this->trimmed('user_b'); - $user_a = $this->get_profile($user_a_id); - $user_b = $this->get_profile($user_b_id); + $user_a = $this->get_user($user_a_id); + $user_b = $this->get_user($user_b_id); if (!$user_a || !$user_b) { $this->client_error(_('Two user ids or screen_names must be supplied.'), 400, $apidata['content-type']);