OSDN Git Service

ShowUserInfoのユーザー指定をscreen_nameパラメータに変更
authorkiri_feather <kiri_feather@users.sourceforge.jp>
Mon, 31 May 2010 14:20:38 +0000 (14:20 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:13:03 +0000 (23:13 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@411 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Connection/HttpTwitter.vb

index 606f585..19100ad 100644 (file)
@@ -196,10 +196,10 @@ Public Class HttpTwitter
 
     Public Function ShowUserInfo(ByVal screenName As String, ByRef content As String) As HttpStatusCode
         Dim param As New Dictionary(Of String, String)
-
+        param.Add("screen_name", screenName)
         Return httpCon.GetContent(GetMethod, _
-                            CreateTwitterUri("/1/users/show/" + screenName + ".xml"), _
-                            Nothing, _
+                            CreateTwitterUri("/1/users/show/.xml"), _
+                            param, _
                             content, _
                             Nothing)
     End Function