Bitcoin Forum
May 20, 2018, 06:35:34 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [Help] Mt.Gox trading api in vb.net  (Read 1006 times)
Strom500
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?
1526841334
Hero Member
*
Offline Offline

Posts: 1526841334

View Profile Personal Message (Offline)

Ignore
1526841334
Reply with quote  #2

1526841334
Report to moderator
1526841334
Hero Member
*
Offline Offline

Posts: 1526841334

View Profile Personal Message (Offline)

Ignore
1526841334
Reply with quote  #2

1526841334
Report to moderator
1526841334
Hero Member
*
Offline Offline

Posts: 1526841334

View Profile Personal Message (Offline)

Ignore
1526841334
Reply with quote  #2

1526841334
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1526841334
Hero Member
*
Offline Offline

Posts: 1526841334

View Profile Personal Message (Offline)

Ignore
1526841334
Reply with quote  #2

1526841334
Report to moderator
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:  

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!