authorize_user

Discussion in 'Developer Support' started by Dumdidum, Aug 7, 2010.

  1. Dumdidum Member

    Hello

    While using authorize_user, I have to pass the username and password. The documentation says, that both has to be "byte", which I expect to be base64string.

    While passing the params, I get the response that the first one has to be in base64 and the second one as string.

    Then I get a correct response back, but with a '0' as result.

    I am using vBulletin, so I tried to use MD5 Hash as password, with no success. I guess i have to somehow encrypt the password, but how?

    Thanks

    Response:

    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<methodResponse>\n<params>\n<param>\n<value><struct>\n<member><name>authorize_result</name>\n<value><boolean>0</boolean></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodResponse>"
  2. Yao Android Developer

    The second parameter should be string, sorry for the wrong information.

    If you got 0, it means the parameters all use correct type, but the login failed.

    Now vb plugin support MD5 & plain both. For the test, you can use plain password.

    Not sure what happened, but maybe you can send me more information, such as forum url.

    You can create a thread in "one to one talk" (http://tapatalk.com/forum/forumdisplay.php?f=40). And post your forum inforamtion there. We will follow it.