Bitcoin Forum
December 08, 2016, 06:12:19 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [Help] Mt.Gox trading api in vb.net  (Read 916 times)
Strom500
Newbie
*
Offline Offline

Activity: 2


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?
1481177539
Hero Member
*
Offline Offline

Posts: 1481177539

View Profile Personal Message (Offline)

Ignore
1481177539
Reply with quote  #2

1481177539
Report to moderator
1481177539
Hero Member
*
Offline Offline

Posts: 1481177539

View Profile Personal Message (Offline)

Ignore
1481177539
Reply with quote  #2

1481177539
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
daisybrand
Newbie
*
Offline Offline

Activity: 1


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!