SoloLearn Profile ID Extracter | Sololearn: Learn to code for FREE!

+10

SoloLearn Profile ID Extracter

How will I get the Profile ID of Code Runner (who running the code) programmatically using any language like PHP, java, ruby, c# or whatever else? I know, I can manually extract my unique profile ID by sharing my profile in the form of URL also by logging in web and then extract it from URL. But here my question is extracting the profile id of code runner.

3/20/2018 8:24:41 AM

Rex Terminous

36 Answers

New Answer

+13

somewhat a hacky way to do it: 1) use something like ClientJS to identify the device 2) use web storage service (firebase can work) 3) when user runs the app, the ClientJS id is checked against the database,if exist, the username is taken, else prompt a username input and save to the database with the ClientJS id as the key * take into consideration it is not a foolproof method * as to date i do not know any way to access the userid of SL (and boy have i tried...) ClientJS https://github.com/jackspirou/clientjs

+12

Anaika Soti i understand that, that's why i called it "hacky" i tried myself to find access to user SL id but with no success so the only alternative i can think of is implementing it yourself with some kind of fingerprint (ClientJS) and a storage service true that it would require at least one prompt on each device, but if you do find a way to access the user SL id please do update us ^_^

+11

In simple words you can't get that without using SoloLearn User's Sessions or cache (whatever sl app store as session). . But you can get do that using other social media APIs like" FACEBOOK LOGIN", "Login with Twitter", "Google plus login" etc....

+11

Whatever I don't care.. 😏

+8

I'm not talking about unpacked APK... I'm talking about SOURCE CODE... (almost 25-30Mb I guess)

+8

I believe I know what you're talking about. As an example ... If I were to run someone's game on SoloLearn and their program automatically identified my username so that it could display it on the global scoreboard within the program itself for other users to see ... would that be addressing the concept that you're attempting to reference?

+6

@Anaika then contact solodevs 😅

+6

@Winston Lol.. Even you said..."Anybody can extract the source code of apps today".. then why I'm joking 😑? And another thing we can also DECRYPT obfuscation

+6

Lol.. I said I HAVE FULL SOURCE CODE..

+5

Lol.. Then decompile the SOLOLEARN APK

+5

Btw.. I have full decompiled SOLOLEARN apk(.java files) if you want so i can send that for you... 😉

+5

https://drive.google.com/file/d/13iSTrkGUB8ULbjIK8pEOYRY--4oNZ22G/view?usp=drivesdk Take a look at this.. PlaygroundTabActivity.java

+4

do u mean something that like this app https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor it can edit almost full app I have hacked a game namely mini militia once

+3

Code runner is the user, who is running the code in his/her device.

+3

You can't do that automatically, but it's possible if "code runner" can input it's Sololearn ID manually. You can save it by using Firebase and do whatever you want to do with it. Unfortunately, no other way :/

+3

I am still searching for it. I know the SoloLearn App didn't allow users to do such things. It's good to get input there unique ID from user but not everyone knows there unique ID. Trying to fetching the URL of Code Runner.

+3

You can give instructions in your code about "How to get the ID". Many user who wanted their "Code Runners" to give their ID do the same thing. BTW how you can get user ID by fetching URL of "Code Runner" ? 😮

+2

I was trying to fetching user's URL by using JS (window.location.href) it gives "about::blank", Also PHP ($_SERVER['PHP_SELF']) it gives "../Playground", Now trying something else for getting the playground URL.

+2

Mhmmm ... That's the last option. Firstly I have to know which Server Side language they use in SoloLearn for backend.

+2

Mhmmm ... BTW decompiled codes and extracted or unpackaged codes are different. You can't get decompile codes. Which is often called source code. If you have that, then send it to me via email.