diff options
author | zach <zach@copley.name> | 2008-07-20 04:39:48 -0400 |
---|---|---|
committer | zach <zach@copley.name> | 2008-07-20 04:39:48 -0400 |
commit | 05fe4f6a2fa7b4e24d09a6a3e1794b6c321bf879 (patch) | |
tree | 3777fabeb41f7b8fc91739a79cac61c92ff60433 /actions/twitapifriendships.php | |
parent | 93ac0bcae3a600733045ad7a5bafabcdfd49d9e5 (diff) |
Twitter-compatible API: /friendship/exists always failed - fixed!
darcs-hash:20080720083948-ca946-14b4ef6a5fe387f1e147546be156fafb7d665275.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r-- | actions/twitapifriendships.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 19617a071..19bc71b7a 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']); |