From 85321cede0abba7a5d08fad7fcb348d1bacc98b3 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 23 Jan 2009 00:11:05 -0800 Subject: [PATCH] Fix for Twitter bridge bug introduced by uiredesign merge --- actions/twittersettings.php | 2 +- lib/twitter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/twittersettings.php b/actions/twittersettings.php index efc8215cdf..0c109ab53a 100644 --- a/actions/twittersettings.php +++ b/actions/twittersettings.php @@ -472,7 +472,7 @@ class TwittersettingsAction extends ConnectSettingsAction function verifyCredentials($screen_name, $password) { - $uri = 'http://twitter.com/account/verifyCredentials.json'; + $uri = 'http://twitter.com/account/verify_credentials.json'; $data = get_twitter_data($uri, $screen_name, $password); diff --git a/lib/twitter.php b/lib/twitter.php index 5eb15005a6..1972985493 100644 --- a/lib/twitter.php +++ b/lib/twitter.php @@ -42,7 +42,7 @@ function get_twitter_data($uri, $screen_name, $password) $errmsg = curl_error($ch); if ($errmsg) { - common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $twit_user.", + common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $screen_name.", __FILE__); }