-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed way of getting device id? #1
Comments
Hi, sorry for the late answer. The algorithm was extracted directly from the Jodel Android app, but I don't know if it has changed since then. Probably not. Make sure you provide all the info in the correct order. If some of the fields aren't present, it should litteraly be the string Here is an app you can use to get all the required fields: |
How to sign the request to get Access_Token? |
@loppanjo I don't believe that it's necessary to sign the request with an access_token. I believe that when I worked on my codebase I just used my deviceid from my phone. I will look into this once the summer begins. |
@Nafrali I don't sign the request with an access_token but when I send the request to GET the access_token I get the response 'Signed Request Expected', the only thing that comes in mind by that is 'x-authorization: HMAC 43241...' |
I'll look into it. I stopped coding on my jodel api halfway through a refactorization, I've started working on it today and once I get it up and running I'll see if I can help you. In the mean time, I feel as if our conversation have left the original purpose of the issue. |
@Nafrali Have you found anything? Have tried resending requests and I get a new Bearer every time, when I try to edit the request just before sending I still get 'Signed Request Expected'. |
@loppanjo I've just had fever, but I've started looking into it. I've tried to get my access token, but so far I'm only getting "Unauthorized" response, I'll keep looking into it. |
@lqasse no luck yet :/ i've managed to get all api calls working except the one to get bearer |
I've managed to change my UUID on a rooted tablet and got new Bearers. |
Excellent news! Keep us updated |
I don't know the exact issue but this implementation works as far as I've tested, might be worth a look. https://bitbucket.org/cfib90/ojoc/src/dbbcfe2f9b8be19292af325d3e11be4d3a82bf75/OJOC/Connection.py?at=public&fileviewer=file-view-default |
@Powersource Thank you soo much. This is exactly what I have been looking for 😃 (Line 360-425) |
Hope it's going well. I just want to point out that he's refactored/cleaned up the majority of the lines in that project, might be worth taking a look again for changes. |
I managed to get it working, creating 57 tokens before I got ip-banned :/ But i'm back again with a new ip. |
Good work on getting banned :D Considering that this project doesn't seem to be moving forward anytime soon I don't think anyone would mind you simply linking it (and it's not a sin in the first place). |
Okay will do when it's up and my documentation is done ;) |
@loppanjo Any chance to get a look at your javascript implementation? I'm currently writing a own java client, but I'm stuck at generating a own token and signing api/v3 requests. |
@dotWee I was thinking about doing something similar a while back and I almost think that finding a way to run the connection.py (that I linked earlier) in java somehow would be the simplest way. |
Hi, I've been looking at your code and I've tried to get my own device id for Jodel. I can find my deviceId by monitoring my network traffic, however using your code to generate a device id, I do not get the same device id. I don't know if you ment to replicate Jodels device id algorithm or just made one on your own to have something to work with.
I have decompiled a Jodel apk and if I'm not mistaken it seems as if they have changed the algorithm.
They now do an AND operation (& 0xFF) on all the string that is hashed.
If they have changed the algorithm, will you update your code once you have time and intreset or is it something that I shall try and do once I have enough time? It could, of couse be that I'm just doing something wrong.
Best regards.
The text was updated successfully, but these errors were encountered: