]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for Twitter bridge bug introduced by uiredesign merge
authorZach Copley <zach@controlyourself.ca>
Fri, 23 Jan 2009 08:11:05 +0000 (00:11 -0800)
committerZach Copley <zach@controlyourself.ca>
Fri, 23 Jan 2009 08:11:05 +0000 (00:11 -0800)
actions/twittersettings.php
lib/twitter.php

index efc8215cdf532287c41562c729ce8a901fbb6f68..0c109ab53aa962f1c086a0c83b01b0ec6cabaa0a 100644 (file)
@@ -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);
 
index 5eb15005a6dcfdb50c774c26cf556d1a035886f8..1972985493a92b414d54667506b4983f86e80c44 100644 (file)
@@ -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__);
     }