0
我的代碼: http://pastebin.com/fuFxaxTT如何在python 3(icq auth)中生成hmac標誌?
,並有鏈接:
http://api.icq.net/aim/startSession?f=json&language=ru&events=mchat%2CuserAddedToBuddyList%2Chist%2CimState%2Cbuddylist&includePresenceFields=aimId%2Cfriendly%2Cstate%2Cssl&sessionTimeout=2592000&ts=1486941017&k=ic17mFHiwr52TKrx&a=%252FwQAAAAAAAGM2*****OTVCDd%252BSNbxZMzUDE0FKQ3Dc2MCVL8DpHgHX8z8%252BWEK3UI6LmhnP362bl%252FluMpxZB033a6qvxSmIkiCsY%253D&view=online&invisible=false&mobile=0&sig_sha256=gI93nv8lo0n9t3*****6uSH43fKnQzPL8Yo=
,但有錯誤:
{"response":{"statusCode":401, "statusText":"Authentication Required. statusDetailCode 1014", "statusDetailCode":1014, "data":{"ts":1486941017}}}
我發現例子的NodeJS - https://gist.github.com/foozzi/1382fce29b87bf2ea5544ca73a54a4d4#file-gistfile1-txt-L205 ,但如果錯誤在我的代碼?
有幫助的人嗎? – user2495800