skip to Main Content

How to sign a Binance HTTP request using Dart – Twitter API

When I try to make a request I get the following error message: code: -1100, msg: Illegal characters found in parameter 'signature'; legal range is '^[A-Fa-f0-9]{64}$' Link to binance API: https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md The request is being made to https://api.binance.com/api/v3/account. The query…

VIEW QUESTION

Get twitter friends list? – Twitter API

I'm getting Bad Authentication data response in twitter friends/list API. I'm getting userid, screen name, authToken and authTokenSecret when login. func loadFollowers(userid:String) { //let twapi = "https://api.twitter.com/1.1/followers/list.json?cursor=-1&user_id=(session)&count=5000" let twapi = "https://api.twitter.com/1.1/friends/list.json?cursor=-1&user_id=(userid)&count=10" let url2 = URL(string: twapi)! print(url2) URLSession.shared.dataTask(with: url2, completionHandler:…

VIEW QUESTION
Back To Top
Search