From: Zach Copley Date: Fri, 23 Jan 2009 08:11:05 +0000 (-0800) Subject: Fix for Twitter bridge bug introduced by uiredesign merge X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85321cede0abba7a5d08fad7fcb348d1bacc98b3;p=quix0rs-gnu-social.git Fix for Twitter bridge bug introduced by uiredesign merge --- 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__); }