Comments (53)
hi, the code needs to be updated. Authorization does not work.
if you have time, can you update it?
not soon, but I will take a look later, so do not expect any changes in nearest future.
from numbuster-api.
Hi, check how you are passing phone number to "request_sms_code", it must start with the country code, for Russia, for example, you must write number like that: 79202600211.
I`v just checked functions "request_sms_code" and "send_sms_code", everything works fine.
From my expierience with Numbuster's api I can tell that sometimes they just don't send sms, so if you didn`t recieved sms, try again after 1-2 minutes, also try another number, free online numbers...
from numbuster-api.
And yeah... request_sms_code doesn't need nothing else, just write something like that:
api = Numbuster()
api.request_sms_code('79219511844')
code = input('Code: ')
api.send_sms_code('79219511844',code)
print(api.access_token)
from numbuster-api.
Thanks for your quick answers! Before I sent phone numbers with "+" prefix, just checked without "+", this didn't help. To be more precise, my tests were done for Ukrainian numbers, I'll try other numbers later.
Just to be sure I'm doing everything correctly: are you also receiving the following responses:
{"status_code":0,"status":"success","message":"","data":null}")
?
from numbuster-api.
Yep. Everything ok, especialy if you are using functions which implemented in api.
from numbuster-api.
There's realy problem with Urkranian/USA/Greek numbers, properly works only with russian numbers, even with the app running on the emulator.
from numbuster-api.
I tried to use different services with Russian numbers for free SMS and still not able to receive a code.
Actually I'm not running your code, the function "request_sms_code" (and all the relevant functions) was implemented in Swift programming language and it is sent from iPhone application. I understand something is wrong in my setup. What is weird is that my calls receive the same successful responses as your Python API. I'm continue working on this issue when have time.
from numbuster-api.
I'v just checked "v6_auth_agreement_code()" and looks like api allways returns {"status_code":0,"status":"success","message":"","data":null}"), even when you send wrong key, so check your implementation of "v6_auth_get()". And if you want, you can send me your implementation of that functions, I will try to help you.
from numbuster-api.
Also check that function "another_profiles_without_code".
from numbuster-api.
Oh, I didn't implement "another_profiles_without_code" since thought it is not required. Will add this function. I think another potentially problematic place could be "signatures.get_cnonce()": how much important is to randomize a nonce each time?
Of course I'll show you my code, need some time to prepare it. Again thanks for your help.
from numbuster-api.
Yeahhh, "#Can be deleted, but meh..." was my little sarcastic joke, sorry :). You can allways use even that cnonce o5oorrrlBlbWKHRVuH7lBQdVCQEVKeXeTkAyA9H6FY8DT904sq , so it's not really necessary to randomise it every time, but Numbuster can start checking cnonce, so better randomise it at least ones, when program starts and use it for every request.
And again, sorry for "#Can be deleted, but meh...". "another_profiles_without_code" is the most important function in "request_sms_code" if you want, you can even delete v6_auth_get and v6_auth_agreement_code and use only "another_profiles_without_code"
from numbuster-api.
Ah, you don't need to say "sorry", I had to understand it was a joke :). Actually it doesn't matter, I'm implementing "another_profiles_without_code" now...
from numbuster-api.
"another_profiles_without_code" is successful, but sends empty response {}. Is it correctly? Should "another_profiles" be implemented as well?
from numbuster-api.
That's correct, api just sends back empty response. "another_profiles_without_code" is the only one function that requests sms from server, so nope, you don't need to implement "another_profiles"
from numbuster-api.
So, If I understand correctly, "another_profiles_without_code" is the only method which is required to receive SMS, right? This function is very simple and actually it is a POST HTTP request to URL "https://api.numbuster.com/api/old4a27f7a4025447ee5560a49bc5bcde34/profiles/without-code" with body {"phone" : "xxxxxxxxxx"}.
from numbuster-api.
Correct. Don't forget about headers: 'User-Agent'='okhttp/3.9.1'
and 'Content-Type'='application/x-www-form-urlencoded' ,just in case...
from numbuster-api.
Decided to send this API request using Postman - the same result: response is empty, but there is no code. It makes me crazy.
from numbuster-api.
Is it ok that a part of URL "https://api.numbuster.com/api/old4a27f7a4025447ee5560a49bc5bcde34/profiles/without-code" is a hardcoded string "old4a27f7a4025447ee5560a49bc5bcde34"?
from numbuster-api.
Yeah, that's real url for request, I don't know what '4a27f7a4025447ee5560a49bc5bcde34' exactly means(probably md5 hash, because that's obviously bytes), but it doesn't matter.
from numbuster-api.
So yeah, answer for your question. Yes, that's hardcoded string in Numbuster's app.
from numbuster-api.
Can I send you an import from Postman for review?
from numbuster-api.
Yep.
from numbuster-api.
Or you can just post code to pastebin.
from numbuster-api.
https://drive.google.com/open?id=1vARfkECUttW7h1sOnVivgvKED4LNFPa3
from numbuster-api.
https://api.numbuster.com/api/v6/auth/agreement_code?timestamp=1580586177&signature=5e04d26fce606be6caca214397b0c7edd2fbb3e0aa13756eb8e2b7de446080e0&cnonce=o5oorrrlBlbWKHRVuH7lBQdVCQEVKeXeTkAyA9H6FY8DT904sq&= that '=' on the end just mistake? And did the "another_profiles_without_code" work?
from numbuster-api.
I don't know why "=" is in the end of the url, this is another example of url for "v6_auth_agreement_code":
And yes, the "another_profiles_without_code" works and receives an empty response.
from numbuster-api.
So, all functions wrote correctly. Did you recieve sms code after calling "another_profiles_without_code"?
from numbuster-api.
No, and this is a problem.
from numbuster-api.
Are you able to send only "another_profiles_without_code" and receive an SMS?
from numbuster-api.
Yes, I checked recently. But there's realy big problem with Numbuter's server, it just doesn't send sms sometimes(I even tried to request sms from emulator, real phones, it doesn't help so much), try that numbers https://onlinesim.ru/en .
from numbuster-api.
I`v just checked, and Numbuster is updated there's one more function for registration, so I will reverse new version and update api.
from numbuster-api.
That's the reason, why server doesn't send sms code sometimes.
from numbuster-api.
Thanks! Waiting for updates.
from numbuster-api.
I saw you released a new version 2.2. The main update is "actual_cnonce" function. As we discussed before, the only function which is required to receive SMS is "another_profiles_without_code". If I understand correctly, this function hasn't been changed. So I am not sure how this update can fix the issue, probably I'm missing something?
from numbuster-api.
No, I just updated getting cnonce. BTW about new version of numbuster, now they check suspicios your request or not, and Numbuster's server always sends me "suspicios request". I even tried to register new account on my own phone number, with app running on my phone, that didn't solved the problem, I think there's huge bug on the Numbuster's server. If that's not a problem for you, can you please try to register new account in Numbuster(with phone or other devices)? That will really help me a lot.
from numbuster-api.
Do you mean registering a new account using their application (for instance, iOS Numbuster app)? If yes, my answer is yes, I can do this.
from numbuster-api.
Wow, that really helped me, because I was using only android devices and android app, after sending request with platform 'iOS', Numbuster sent back sms to phone. So it seems like there's problem only with Android.
(for instance, iOS Numbuster app)
from numbuster-api.
Hm, but again, "another_profiles_without_code" doesn't require to specify platform at all. Are you calling "v6_auth_get" and "v6_auth_agreement_code" as well?
from numbuster-api.
Only "v6_auth_get" requires it.
from numbuster-api.
And there's one more api function v6/auth/precheck, it's called after "v6_auth_get"
from numbuster-api.
Do you have this function only locally? It isn't pushed to the repo yet, right?
from numbuster-api.
I have just pushed it, so you can find "v6_auth_precheck" in file NumbusterAPI.py and in signatures.py -"signature_v6_auth_precheck".
from numbuster-api.
Thanks!
from numbuster-api.
Unfortunately, "v6_auth_precheck" sends me {"status_code":10023,"status":"suspicious_request","message":"Suspicious request","data":null}". Do you have the same issue now?
from numbuster-api.
Yes, I've been receiving the same data every time, but, after "v6_auth_precheck", I just called another_profiles_without_code and everything worked, I can't still understand what Numbuster classify as suspicious request, because I receive the same error on all my Android devices, so I think that's just a bug. So just call v6_auth_precheck, and it doesn't matter,now, what server sends back.
from numbuster-api.
Hi. I am constantly getting the "suspicious request" message while trying to get a confirmation sms. I tried my Austrian number, as well as virtual Russian numbers, with the same result Have you managed to somehow figure out what causes the rejection?
from numbuster-api.
Hi, unfortunately no.
from numbuster-api.
hi, the code needs to be updated. Authorization does not work.
if you have time, can you update it?
from numbuster-api.
Hello! I think that your code need some changes now. It doesn't work now. It's obvious, of course, because you haven't updated it.
Is it possible for you - to make some changes? I can help you or we can find another solution to this problem?
Thank you
from numbuster-api.
Hello! I think that your code need some changes now. It doesn't work now. It's obvious, of course, because you haven't updated it.
Is it possible for you - to make some changes? I can help you or we can find another solution to this problem?
Thank you
@kuzNRoman Tell me what you would like to change
If you need access to api for business, please contact us [email protected]
from numbuster-api.
Hello! I think that your code need some changes now. It doesn't work now. It's obvious, of course, because you haven't updated it.
Is it possible for you - to make some changes? I can help you or we can find another solution to this problem?
Thank you
Hello, sorry but I don't have plans on updating api in nearest future.
from numbuster-api.
Could you please tell, where did you find 0woz2wTimes9izs0vFQjLmwqqSzAPNFtmWNcbOL6xJva5Molyb sol inapp? Can't find that string or how app makes hash in old version. But in new version, i can be found by string
from numbuster-api.
Could you please tell, where did you find 0woz2wTimes9izs0vFQjLmwqqSzAPNFtmWNcbOL6xJva5Molyb sol inapp? Can't find that string or how app makes hash in old version. But in new version, i can be found by string
I found it, when I was tracing calls to the cryptography library.
from numbuster-api.
Related Issues (13)
- Binary data
- Contacts md5 hash HOT 3
- API V7 HOT 4
- v6_old_phone doesn't work HOT 2
- Hey HOT 4
- 403 Forbidden HOT 4
- Functions for easy registration/auth HOT 1
- Implement v6_auth_precheck
- Good Job. Decode Contacts[] HOT 7
- Thank you so much HOT 1
- How to get information not as json format HOT 34
- TODO HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from numbuster-api.