From: zach Date: Sun, 20 Jul 2008 08:39:48 +0000 (-0400) Subject: Twitter-compatible API: /friendship/exists always failed - fixed! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05fe4f6a2fa7b4e24d09a6a3e1794b6c321bf879;p=quix0rs-gnu-social.git Twitter-compatible API: /friendship/exists always failed - fixed! darcs-hash:20080720083948-ca946-14b4ef6a5fe387f1e147546be156fafb7d665275.gz --- 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']);