Bitcoin Forum
May 30, 2024, 10:31:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Help] Mt.Gox trading api in vb.net  (Read 1157 times)
Strom500 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 06, 2011, 12:18:22 PM
 #1

I am trying to build a vb.net based Mt.gox client and having problems using their API.
I have tried not using the "?" character in the URL and trying to use https://mtgox.com/code/login.php

Code:
   'Code to get funds data
   Dim FundsData As String
   FundsData = PostWebpageData("https://mtgox.com/code/getFunds.php?", "name=" & Username & "&pass=" & Password)

   'Post URL code
   Function PostWebpageData(ByVal url As String, ByVal Data As String) As String
          If My.Computer.Network.IsAvailable Then
              Dim Client As New Net.WebClient

              Return (Client.UploadString(url, Data))
          Else
              MsgBox("Unable to acess the internet")
          End If

   End Function

I keep getting {"error":"Not logged in."} please help/what did I do wrong?
daisybrand
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 06, 2011, 12:53:45 PM
 #2

I am having the same problem.  I can pull the public data just fine, but when I tried to do any transaction that requires a login, I get the same response back - Not Logged In.

Let me know if you figure it out, I'll do the same.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!